diff options
Diffstat (limited to 'db_stress_tool/db_stress_test_base.cc')
-rw-r--r-- | db_stress_tool/db_stress_test_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_stress_tool/db_stress_test_base.cc b/db_stress_tool/db_stress_test_base.cc index 5a4c310c4..2b6db414f 100644 --- a/db_stress_tool/db_stress_test_base.cc +++ b/db_stress_tool/db_stress_test_base.cc @@ -3674,7 +3674,7 @@ void StressTest::Reopen(ThreadState* thread) { // crash-recovery verification does. Therefore it always expects no data loss // and we should ensure no data loss in testing. // TODO(hx235): eliminate the FlushWAL(true /* sync */)/SyncWAL() below - if (!FLAGS_disable_wal && FLAGS_avoid_flush_during_shutdown) { + if (!FLAGS_disable_wal) { Status s; if (FLAGS_manual_wal_flush_one_in > 0) { s = db_->FlushWAL(/*sync=*/true); |