diff --git a/tools/db_stress.cc b/tools/db_stress.cc index 5fd84258b..6a3e8bdef 100644 --- a/tools/db_stress.cc +++ b/tools/db_stress.cc @@ -4054,6 +4054,9 @@ class AtomicFlushStressTest : public StressTest { assert(num == iters.size()); std::vector statuses(num, Status::OK()); do { + if (shared->HasVerificationFailedYet()) { + break; + } size_t valid_cnt = 0; size_t idx = 0; for (auto& iter : iters) {