rocksdb/db_stress_tool
Maysam Yabandeh 349bd3ed82 CancelAllBackgroundWork before Close in db stress (#6174)
Summary:
Close asserts that there is no unreleased snapshots. For WritePrepared transaction, this means that the background work that holds on a snapshot must be canceled first. Update the stress tests to respect the sequence.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6174

Test Plan:
```
make -j32 crash_test

Differential Revision: D19057322

Pulled By: maysamyabandeh

fbshipit-source-id: c9e9e24f779bbfb0ab72c2717e34576c01bc6362
2019-12-13 18:22:50 -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
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
db_stress_common.cc
db_stress_common.h Enable unordered_write in stress tests (#6164) 2019-12-13 10:25:04 -08:00
db_stress_driver.cc
db_stress_driver.h
db_stress_gflags.cc Enable unordered_write in stress tests (#6164) 2019-12-13 10:25:04 -08:00
db_stress_listener.h
db_stress_shared_state.cc
db_stress_shared_state.h
db_stress_stat.h
db_stress_test_base.cc CancelAllBackgroundWork before Close in db stress (#6174) 2019-12-13 18:22:50 -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 Vary bloom_bits in db_crashtest (#6103) 2019-12-10 08:39:50 -08:00
no_batched_ops_stress.cc Add useful idioms to Random API (OneInOpt, PercentTrue) (#6154) 2019-12-13 14:30:14 -08:00