提交 f21313fb 编写于 作者: L liuyangming 提交者: 刘阳明

minor fix of chaostest

上级 d2369d11
......@@ -776,10 +776,10 @@ class ChaosTest {
set_options();
exit_ = false;
for (int i = 0; i < cf_num; ++i) {
options.compaction_style = rocksdb::kCompactionStyleFIFO;
options.compaction_style = rocksdb::kCompactionStyleLevel;
options.write_buffer_size = size_t(file_size_base * 1.2);
options.enable_lazy_compaction = true;
cfDescriptors.emplace_back("fifo" + std::to_string(i), options);
cfDescriptors.emplace_back(rocksdb::kDefaultColumnFamilyName, options);
options.compaction_style = rocksdb::kCompactionStyleUniversal;
options.write_buffer_size = size_t(file_size_base * 1.1);
options.enable_lazy_compaction = true;
......
......@@ -72,8 +72,8 @@ DEFINE_bool(terark, false, "test Terark Table");
DEFINE_bool(compactrange, false, "test CompactRange");
DEFINE_bool(rangedel, false, "test RangeDel");
DEFINE_bool(hash, false, "test Hash(key) after Compaction");
DEFINE_int32(write_thread, 1, "the number of write thread.");
DEFINE_int32(read_thread, 1, "the number of read thread.");
DEFINE_int32(write_thread, 2, "the number of write thread.");
DEFINE_int32(read_thread, 20, "the number of read thread.");
DEFINE_int32(cf_num, 1, "the number of column family");
DEFINE_int32(value_avg_size, 2048, "the average size of value");
DEFINE_int32(key_avg_size, 64, "the average size of key");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册