mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
Disable pipelined write in atomic flush stress test (#5266)
Summary: Since currently pipelined write allows one thread to perform memtable writes while another thread is traversing the `flush_scheduler_`, it will cause an assertion failure in `FlushScheduler::Clear`. To unblock crash recoery tests, we temporarily disable pipelined write when atomic flush is enabled. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5266 Differential Revision: D15142285 Pulled By: riversand963 fbshipit-source-id: a0c20fe4ac543e08feaed602414f982054df7831
This commit is contained in:
parent
18864567c8
commit
210b49cac9
|
@ -136,6 +136,8 @@ atomic_flush_params = {
|
|||
# use small value for write_buffer_size so that RocksDB triggers flush
|
||||
# more frequently
|
||||
"write_buffer_size": 1024 * 1024,
|
||||
# disable pipelined write when test_atomic_flush is true
|
||||
"enable_pipelined_write": 0,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue