diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index 12053b039..189f126eb 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -910,7 +910,7 @@ struct DBOptions { // Default: 1 int max_background_compactions; - // This integer represents the maximum number of threads that will + // This value represents the maximum number of threads that will // concurrently perform a compaction job by breaking it into multiple, // smaller ones that are run simultaneously. // Default: 1 (i.e. no subcompactions) diff --git a/util/options.cc b/util/options.cc index 3bfdde3f6..270e7009f 100644 --- a/util/options.cc +++ b/util/options.cc @@ -347,6 +347,8 @@ void DBOptions::Dump(Logger* log) const { delete_obsolete_files_period_micros); Warn(log, " Options.max_background_compactions: %d", max_background_compactions); + Warn(log, " Options.max_subcompactions: %" PRIu32, + max_subcompactions); Warn(log, " Options.max_background_flushes: %d", max_background_flushes); Warn(log, " Options.WAL_ttl_seconds: %" PRIu64,