diff options
author | sdong <siying.d@fb.com> | 2021-06-30 16:45:44 -0700 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2021-06-30 16:46:41 -0700 |
commit | ba224b75c7362897df8c0da97f5fb04594c4664b (patch) | |
tree | 84548a66ead96080d93a1813790670fdbbef80bb /db_stress_tool/db_stress_shared_state.h | |
parent | 41c4b665f4c6c9ec17be7b75e1be63c13a3af1ab (diff) |
Stress Test to inject write failures in reopen (#8474)
Summary:
Previously Stress can inject metadata write failures when reopening a DB. We extend it to file append too, in the same way.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/8474
Test Plan: manually run crash test with various setting and make sure the failures are triggered as expected.
Reviewed By: zhichao-cao
Differential Revision: D29503116
fbshipit-source-id: e73a446e80ccbd09301a579280e56ff949381fab
Diffstat (limited to 'db_stress_tool/db_stress_shared_state.h')
-rw-r--r-- | db_stress_tool/db_stress_shared_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db_stress_tool/db_stress_shared_state.h b/db_stress_tool/db_stress_shared_state.h index 03bc0784c..d214a42b5 100644 --- a/db_stress_tool/db_stress_shared_state.h +++ b/db_stress_tool/db_stress_shared_state.h @@ -31,6 +31,7 @@ DECLARE_int32(continuous_verification_interval); DECLARE_int32(read_fault_one_in); DECLARE_int32(write_fault_one_in); DECLARE_int32(open_metadata_write_fault_one_in); +DECLARE_int32(open_write_fault_one_in); namespace ROCKSDB_NAMESPACE { class StressTest; |