diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 90bc54b2f..2af9ccb71 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -1229,6 +1229,9 @@ DEFINE_bool( DEFINE_bool(allow_concurrent_memtable_write, true, "Allow multi-writers to update mem tables in parallel."); +DEFINE_bool(experimental_allow_mempurge, false, + "Allow memtable garbage collection."); + DEFINE_bool(inplace_update_support, ROCKSDB_NAMESPACE::Options().inplace_update_support, "Support in-place memtable update for smaller or same-size values"); @@ -4302,6 +4305,7 @@ class Benchmark { options.delayed_write_rate = FLAGS_delayed_write_rate; options.allow_concurrent_memtable_write = FLAGS_allow_concurrent_memtable_write; + options.experimental_allow_mempurge = FLAGS_experimental_allow_mempurge; options.inplace_update_support = FLAGS_inplace_update_support; options.inplace_update_num_locks = FLAGS_inplace_update_num_locks; options.enable_write_thread_adaptive_yield =