rocksdb/db_stress_tool
sdong 8f2bee6747 Add ReadOptions.auto_prefix_mode (#6314)
Summary:
Add a new option ReadOptions.auto_prefix_mode. When set to true, iterator should return the same result as total order seek, but may choose to do prefix seek internally, based on iterator upper bounds. Also fix two previous bugs when handling prefix extrator changes: (1) reverse iterator should not rely on upper bound to determine prefix. Fix it with skipping prefix check. (2) block-based filter is not handled properly.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6314

Test Plan: (1) add a unit test; (2) add the check to stress test and run see whether it can pass at least one run.

Differential Revision: D19458717

fbshipit-source-id: 51c1bcc5cdd826c2469af201979a39600e779bce
2020-01-28 14:44:05 -08:00
..
batched_ops_stress.cc Print before AddErrors in stress tests (#6256) 2020-01-02 16:46:23 -08:00
cf_consistency_stress.cc Variable key length in db_stress (#6273) 2020-01-09 21:27:18 -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 crash_test to cover bottommost compression and some other changes (#6215) 2019-12-20 16:14:52 -08:00
db_stress_common.h Variable key length in db_stress (#6273) 2020-01-09 21:27:18 -08:00
db_stress_driver.cc crash_test to cover bottommost compression and some other changes (#6215) 2019-12-20 16:14:52 -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 should not keep manifest files under checkpoint directory (#6233) 2019-12-20 22:10:06 -08:00
db_stress_gflags.cc Variable key length in db_stress (#6273) 2020-01-09 21:27:18 -08:00
db_stress_listener.h db_stress: listners to implement all functions (#6197) 2019-12-20 21:47:06 -08:00
db_stress_shared_state.cc Add more verification to db_stress (#6173) 2019-12-20 08:49:29 -08:00
db_stress_shared_state.h Add more verification to db_stress (#6173) 2019-12-20 08:49:29 -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 ReadOptions.auto_prefix_mode (#6314) 2020-01-28 14:44:05 -08:00
db_stress_test_base.h Add Transaction::MultiGet to db_stress (#6227) 2019-12-20 23:12:51 -08:00
db_stress_tool.cc Variable key length in db_stress (#6273) 2020-01-09 21:27:18 -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 Variable key length in db_stress (#6273) 2020-01-09 21:27:18 -08:00