rocksdb/db_stress_tool
Yanqin Jin 383f5071f0 Add SyncWAL to db_stress (#6149)
Summary:
Add SyncWAL to db_stress. Specify with `-sync_wal_one_in=N` so that it will be
called once every N operations on average.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6149

Test Plan:
```
$make db_stress
$./db_stress -sync_wal_one_in=100 -ops_per_thread=100000
```

Differential Revision: D18922529

Pulled By: riversand963

fbshipit-source-id: 4c0b8cb8fa21852722cffd957deddf688f12ea56
2019-12-10 21:55:25 -08:00
..
batched_ops_stress.cc db_stress: Some code style improvements (#6137) 2019-12-09 14:38:42 -08:00
cf_consistency_stress.cc db_stress: Some code style improvements (#6137) 2019-12-09 14:38:42 -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_common.cc Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
db_stress_common.h Add SyncWAL to db_stress (#6149) 2019-12-10 21:55:25 -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_gflags.cc Add SyncWAL to db_stress (#6149) 2019-12-10 21:55:25 -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 Add SyncWAL to db_stress (#6149) 2019-12-10 21:55:25 -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
db_stress.cc Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
no_batched_ops_stress.cc db_stress: Some code style improvements (#6137) 2019-12-09 14:38:42 -08:00