rocksdb/db_stress_tool
sdong 14c38baca0 db_stress: sometimes validate compact range data (#6140)
Summary:
Right now, in db_stress, compact range is simply executed without any immediate data validation. Add a simply validation which compares hash for all keys within the compact range to stay the same against the same snapshot before and after the compaction.

Also, randomly tune most knobs of CompactRangeOptions.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6140

Test Plan: Run db_stress with "--compact_range_one_in=2000 --compact_range_width=100000000" for a while. Manually ingest some hacky code and observe the error path.

Differential Revision: D18900230

fbshipit-source-id: d96e75bc8c38dd5ec702571ffe7cf5f4ea93ee10
2019-12-10 11:41:50 -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
db_stress.cc
db_stress_common.cc
db_stress_common.h Vary bloom_bits in db_crashtest (#6103) 2019-12-10 08:39:50 -08:00
db_stress_driver.cc
db_stress_driver.h
db_stress_gflags.cc Vary bloom_bits in db_crashtest (#6103) 2019-12-10 08:39:50 -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 db_stress: sometimes validate compact range data (#6140) 2019-12-10 11:41:50 -08:00
db_stress_test_base.h db_stress: sometimes validate compact range data (#6140) 2019-12-10 11:41:50 -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 db_stress: Some code style improvements (#6137) 2019-12-09 14:38:42 -08:00