rocksdb/db_stress_tool
Maysam Yabandeh 68d5d82d1f Wait for CancelAllBackgroundWork before Close in db stress (#6191)
Summary:
In https://github.com/facebook/rocksdb/issues/6174 we fixed the stress test to respect the CancelAllBackgroundWork + Close order for WritePrepared transactions. The fix missed to take into account that some invocation of CancelAllBackgroundWork are with wait=false parameter which essentially breaks the order.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6191

Differential Revision: D19102709

Pulled By: maysamyabandeh

fbshipit-source-id: f4e7b5fdae47ff1c1ac284ba1cf67d5d3f3d03eb
2019-12-16 18:33:09 -08:00
..
batched_ops_stress.cc cmake: do not build tests for Release build and cleanups (#5916) 2019-12-13 12:48:06 -08:00
cf_consistency_stress.cc db_stress: preserve all historic manifest files (#6142) 2019-12-16 14:32:34 -08:00
CMakeLists.txt Add an option to the CMake build to disable building shared libraries (#6122) 2019-12-10 15:20:50 -08:00
db_stress.cc Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_common.cc db_stress: preserve all historic manifest files (#6142) 2019-12-16 14:32:34 -08:00
db_stress_common.h Add some new options to crash_test (#6176) 2019-12-16 15:43:13 -08:00
db_stress_driver.cc Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_driver.h Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_env_wrapper.h db_stress: preserve all historic manifest files (#6142) 2019-12-16 14:32:34 -08:00
db_stress_gflags.cc Add some new options to crash_test (#6176) 2019-12-16 15:43:13 -08:00
db_stress_listener.h Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_shared_state.cc Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_shared_state.h Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_stat.h Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_test_base.cc Wait for CancelAllBackgroundWork before Close in db stress (#6191) 2019-12-16 18:33:09 -08:00
db_stress_test_base.h db_stress: sometimes call CancelAllBackgroundWork() and Close() before closing DB (#6141) 2019-12-10 20:04:52 -08:00
db_stress_tool.cc db_stress: preserve all historic manifest files (#6142) 2019-12-16 14:32:34 -08:00
no_batched_ops_stress.cc Add useful idioms to Random API (OneInOpt, PercentTrue) (#6154) 2019-12-13 14:30:14 -08:00