-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix stress test DB verification methods #13409
Conversation
@cbi42 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
if (method == VerificationMethod::kGetEntity && !FLAGS_use_get_entity) { | ||
method = VerificationMethod::kGet; | ||
} | ||
if (method == VerificationMethod::kMultiGetEntity && | ||
!FLAGS_use_multi_get_entity) { | ||
method = VerificationMethod::kMultiGet; | ||
} | ||
if (method == VerificationMethod::kMultiGet && !FLAGS_use_multiget) { | ||
method = VerificationMethod::kGet; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe also update the db_stress_gflags comments for these three flags on how they affect verification method too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with one nit
@cbi42 has updated the pull request. You must reimport the pull request before landing. |
@cbi42 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: update VerifyDB() to respect user specified flags when choosing verification method.
Test plan: existing CI.