From: Casey Bodley Date: Tue, 6 Aug 2019 20:48:52 +0000 (-0400) Subject: kv/rocksdb: support rmrange unconditionally X-Git-Tag: v15.1.0~1792^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=49672ad5c459b98d8dec94db54c2cb5b7da5ce8f;p=ceph-ci.git kv/rocksdb: support rmrange unconditionally removes the config options rocksdb_enable_rmrange and rocksdb_max_items_rmrange that avoid calls to DeleteRange() Signed-off-by: Casey Bodley --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index df13b12c80f..bb7541fd108 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -828,7 +828,6 @@ OPTION(rocksdb_perf, OPT_BOOL) // Enabling this will have 5-10% impact on perfor OPTION(rocksdb_collect_compaction_stats, OPT_BOOL) //For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled. OPTION(rocksdb_collect_extended_stats, OPT_BOOL) //For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled. OPTION(rocksdb_collect_memory_stats, OPT_BOOL) //For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled. -OPTION(rocksdb_enable_rmrange, OPT_BOOL) // see https://github.com/facebook/rocksdb/blob/master/include/rocksdb/db.h#L253 // rocksdb options that will be used for omap(if omap_backend is rocksdb) OPTION(filestore_rocksdb_options, OPT_STR) diff --git a/src/common/options.cc b/src/common/options.cc index c9160fc6c27..554de3d98e1 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3947,15 +3947,6 @@ std::vector