Stop printing after verification fails (#5493)

Summary:
Stop verification and printing once verification fails.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5493

Differential Revision: D15928992

Pulled By: riversand963

fbshipit-source-id: 699feac034a217d57280aa3fb50f5aba06adf317
main
Yanqin Jin 5 years ago committed by Facebook Github Bot
parent 705b8eecb4
commit 1bfeffab2d
  1. 3
      tools/db_stress.cc

@ -4054,6 +4054,9 @@ class AtomicFlushStressTest : public StressTest {
assert(num == iters.size());
std::vector<Status> statuses(num, Status::OK());
do {
if (shared->HasVerificationFailedYet()) {
break;
}
size_t valid_cnt = 0;
size_t idx = 0;
for (auto& iter : iters) {

Loading…
Cancel
Save