rocksdb/db_stress_tool
anand76 793fd09783 Track expected state only if expected values dir is non-empty (#10764)
Summary:
If the `-expected_values_dir` argument to db_stress is empty, then verification against expected state is effectively disabled. But `RunStressTest` still calls `TrackExpectedState`, which returns `NotSupported` causing a the crash test to fail with a false alarm. Fix it by only calling `TrackExpectedState` if necessary.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10764

Reviewed By: ajkr

Differential Revision: D39980129

Pulled By: anand1976

fbshipit-source-id: d02651746fe3a297877a4b2b2fbcb7274860f49c
2022-09-30 13:37:05 -07:00
..
batched_ops_stress.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
cf_consistency_stress.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
CMakeLists.txt Stress test for RocksDB transactions (#8936) 2021-12-14 13:34:43 -08:00
db_stress.cc Disable tiered storage + BlobDB stress test (#10699) 2022-09-19 15:39:31 -07:00
db_stress_common.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
db_stress_common.h Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
db_stress_compaction_filter.h Enable compaction filter for db_stress with user-defined timestamp (#10259) 2022-06-27 11:53:09 -07:00
db_stress_driver.cc Track expected state only if expected values dir is non-empty (#10764) 2022-09-30 13:37:05 -07:00
db_stress_driver.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
db_stress_env_wrapper.h Make the Env class Customizable (#9293) 2022-01-04 16:45:49 -08:00
db_stress_gflags.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
db_stress_listener.cc Adjust public APIs to prefer 128-bit SST unique ID (#10009) 2022-05-17 18:43:48 -07:00
db_stress_listener.h Avoid usage of ReopenWritableFile in db_stress (#9649) 2022-03-04 10:30:10 -08:00
db_stress_shared_state.cc Remove ROCKSDB_SUPPORT_THREAD_LOCAL define because it's a part of C++11 (#10015) 2022-05-18 15:25:19 -07:00
db_stress_shared_state.h Expand stress test coverage for user-defined timestamp (#10280) 2022-07-05 13:30:15 -07:00
db_stress_stat.cc Fix Statistics in db_stress (#9260) 2021-12-07 16:24:22 -08:00
db_stress_stat.h Fix Statistics in db_stress (#9260) 2021-12-07 16:24:22 -08:00
db_stress_table_properties_collector.h Fix and detect headers with missing dependencies (#8893) 2021-09-10 10:00:26 -07:00
db_stress_test_base.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
db_stress_test_base.h Support WriteCommit policy with sync_fault_injection=1 (#10624) 2022-09-26 18:01:59 -07:00
db_stress_tool.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
expected_state.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00
expected_state.h db_stress verify with lost unsynced operations (#8966) 2021-12-15 12:54:44 -08:00
multi_ops_txns_stress.cc Support WriteCommit policy with sync_fault_injection=1 (#10624) 2022-09-26 18:01:59 -07:00
multi_ops_txns_stress.h Support WriteCommit policy with sync_fault_injection=1 (#10624) 2022-09-26 18:01:59 -07:00
no_batched_ops_stress.cc Add the PutEntity API to the stress/crash tests (#10760) 2022-09-30 11:11:07 -07:00