提交 7153153e 编写于 作者: C Chinmay Kamat 提交者: Facebook Github Bot

Fix enable_pipelined_write output in OPTIONS file

Summary:
enable_pipelined_write was not set in BuildDBOptions() causing its default
value to be dumped in the OPTIONS file
Closes https://github.com/facebook/rocksdb/pull/3585

Differential Revision: D7226395

Pulled By: yiwu-arbug

fbshipit-source-id: 45a659a48d18103ac9ee74bb8805dd0a6ec12474
上级 f6156fb5
...@@ -96,6 +96,7 @@ DBOptions BuildDBOptions(const ImmutableDBOptions& immutable_db_options, ...@@ -96,6 +96,7 @@ DBOptions BuildDBOptions(const ImmutableDBOptions& immutable_db_options,
options.listeners = immutable_db_options.listeners; options.listeners = immutable_db_options.listeners;
options.enable_thread_tracking = immutable_db_options.enable_thread_tracking; options.enable_thread_tracking = immutable_db_options.enable_thread_tracking;
options.delayed_write_rate = mutable_db_options.delayed_write_rate; options.delayed_write_rate = mutable_db_options.delayed_write_rate;
options.enable_pipelined_write = immutable_db_options.enable_pipelined_write;
options.allow_concurrent_memtable_write = options.allow_concurrent_memtable_write =
immutable_db_options.allow_concurrent_memtable_write; immutable_db_options.allow_concurrent_memtable_write;
options.enable_write_thread_adaptive_yield = options.enable_write_thread_adaptive_yield =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册