diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d283c29c..00b93188e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,7 @@ set(SOURCES db/db_impl.cc db/db_impl_debug.cc db/db_impl_experimental.cc + db/db_impl_add_file.cc db/db_impl_readonly.cc db/db_info_dumper.cc db/db_iter.cc @@ -266,6 +267,7 @@ set(SOURCES utilities/persistent_cache/persistent_cache_tier.cc utilities/persistent_cache/volatile_tier_impl.cc utilities/redis/redis_lists.cc + utilities/simulator_cache/sim_cache.cc utilities/spatialdb/spatial_db.cc utilities/table_properties_collectors/compact_on_deletion_collector.cc utilities/transactions/optimistic_transaction_impl.cc diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 3cf2fec65..d90fca98e 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -662,7 +662,7 @@ DEFINE_int32(thread_status_per_interval, 0, "Takes and report a snapshot of the current status of each thread" " when this is greater than 0."); -DEFINE_int32(perf_level, 0, "Level of perf collection"); +DEFINE_int32(perf_level, rocksdb::PerfLevel::kDisable, "Level of perf collection"); static bool ValidateRateLimit(const char* flagname, double value) { const double EPSILON = 1e-10; @@ -3091,7 +3091,7 @@ class Benchmark { thread->stats.AddMessage(msg); - if (FLAGS_perf_level > 0) { + if (FLAGS_perf_level > rocksdb::PerfLevel::kDisable) { thread->stats.AddMessage(perf_context.ToString()); } } @@ -3159,7 +3159,7 @@ class Benchmark { thread->stats.AddBytes(bytes); thread->stats.AddMessage(msg); - if (FLAGS_perf_level > 0) { + if (FLAGS_perf_level > rocksdb::PerfLevel::kDisable) { thread->stats.AddMessage(perf_context.ToString()); } } @@ -3302,7 +3302,7 @@ class Benchmark { found, read); thread->stats.AddBytes(bytes); thread->stats.AddMessage(msg); - if (FLAGS_perf_level > 0) { + if (FLAGS_perf_level > rocksdb::PerfLevel::kDisable) { thread->stats.AddMessage(perf_context.ToString()); } } @@ -3939,7 +3939,7 @@ class Benchmark { } thread->stats.AddMessage(msg); - if (FLAGS_perf_level > 0) { + if (FLAGS_perf_level > rocksdb::PerfLevel::kDisable) { thread->stats.AddMessage(perf_context.ToString()); } }