rocksdb/db_stress_tool
Yueh-Hsuan Chiang 5801af4646 Add env_fault_injection argument to db_stress (#6687)
Summary:
Add env_fault_injection argument to db_stress.  When enabled,
FaultInjectionTestEnv will be used instead.  Currently this
option does not support running with other env setting.

This will allow
us to later manually produce error when running db_crashtest.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6687

Test Plan:
make db_stress -j32
./db_stress --env_fault_injection
./db_stress --env_fault_injection --hdfs   // expect error message

Reviewed By: ajkr

Differential Revision: D21014683

Pulled By: yhchiang

fbshipit-source-id: 0724aeac37efd57adb72a37defe6dbd3bfa8106a
2020-04-16 11:13:44 -07:00
..
batched_ops_stress.cc
cf_consistency_stress.cc
CMakeLists.txt
db_stress.cc
db_stress_common.cc Fault injection in db_stress (#6538) 2020-04-10 17:21:26 -07:00
db_stress_common.h Add env_fault_injection argument to db_stress (#6687) 2020-04-16 11:13:44 -07:00
db_stress_driver.cc Add env_fault_injection argument to db_stress (#6687) 2020-04-16 11:13:44 -07:00
db_stress_driver.h
db_stress_env_wrapper.h
db_stress_gflags.cc Add env_fault_injection argument to db_stress (#6687) 2020-04-16 11:13:44 -07:00
db_stress_listener.h
db_stress_shared_state.cc Fault injection in db_stress (#6538) 2020-04-10 17:21:26 -07:00
db_stress_shared_state.h Fault injection in db_stress (#6538) 2020-04-10 17:21:26 -07:00
db_stress_stat.h Remove a printf from db_stress that's not useful info (#6705) 2020-04-15 12:13:35 -07:00
db_stress_test_base.cc Add env_fault_injection argument to db_stress (#6687) 2020-04-16 11:13:44 -07:00
db_stress_test_base.h
db_stress_tool.cc Add env_fault_injection argument to db_stress (#6687) 2020-04-16 11:13:44 -07:00
no_batched_ops_stress.cc Fix a couple of bugs in db_stress fault injection (#6700) 2020-04-14 11:06:55 -07:00