rocksdb/db_stress_tool
Andrew Kryczka 775dc623ad add CompactionFilter to stress/crash tests (#6988)
Summary:
Added a `CompactionFilter` that is aware of the stress test's expected state. It only drops key versions that are already covered according to the expected state. It is incompatible with snapshots (same as all `CompactionFilter`s), so disables all snapshot-related features when used in the crash test.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6988

Test Plan:
running a minified blackbox crash test

```
$ TEST_TMPDIR=/dev/shm python tools/db_crashtest.py blackbox --max_key=1000000 -write_buffer_size=1048576 -max_bytes_for_level_base=4194304 -target_file_size_base=1048576 -value_size_mult=33 --interval=10 --duration=3600
```

Reviewed By: anand1976

Differential Revision: D22072888

Pulled By: ajkr

fbshipit-source-id: 727b9d7a90d5eab18be0ec6cd5a810712ac13320
2020-06-18 09:54:55 -07:00
..
batched_ops_stress.cc
cf_consistency_stress.cc
CMakeLists.txt Mark dependencies as PRIVATE and fix missing dependencies in tools. (#6790) 2020-05-12 21:07:55 -07:00
db_stress.cc
db_stress_common.cc
db_stress_common.h add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
db_stress_compaction_filter.h add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
db_stress_driver.cc add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
db_stress_driver.h
db_stress_env_wrapper.h
db_stress_gflags.cc add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
db_stress_listener.h
db_stress_shared_state.cc Silence false alarms in db_stress fault injection (#6741) 2020-04-24 13:06:12 -07:00
db_stress_shared_state.h Silence false alarms in db_stress fault injection (#6741) 2020-04-24 13:06:12 -07:00
db_stress_stat.h
db_stress_test_base.cc add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
db_stress_test_base.h add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
db_stress_tool.cc add CompactionFilter to stress/crash tests (#6988) 2020-06-18 09:54:55 -07:00
no_batched_ops_stress.cc fix transaction rollback in db_stress TestMultiGet (#6873) 2020-05-24 15:27:24 -07:00