From: luo rixin Date: Thu, 23 Mar 2023 12:18:23 +0000 (+0800) Subject: common: remove leveldb's options X-Git-Tag: v19.0.0~1078^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fc25418d94c021021980d5504c8d8753be91ac2b;p=ceph.git common: remove leveldb's options Signed-off-by: luo rixin --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index bdb415c5de5c..8b54c623c933 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -2058,7 +2058,6 @@ options: services: - mon enum_values: - - leveldb - rocksdb flags: - create @@ -3361,56 +3360,6 @@ options: level: advanced default: 2 with_legacy: true -- name: leveldb_log_to_ceph_log - type: bool - level: advanced - default: true - with_legacy: true -- name: leveldb_write_buffer_size - type: size - level: advanced - default: 8_M - with_legacy: true -- name: leveldb_cache_size - type: size - level: advanced - default: 128_M - with_legacy: true -- name: leveldb_block_size - type: size - level: advanced - default: 0 - with_legacy: true -- name: leveldb_bloom_size - type: int - level: advanced - default: 0 - with_legacy: true -- name: leveldb_max_open_files - type: int - level: advanced - default: 0 - with_legacy: true -- name: leveldb_compression - type: bool - level: advanced - default: true - with_legacy: true -- name: leveldb_paranoid - type: bool - level: advanced - default: false - with_legacy: true -- name: leveldb_log - type: str - level: advanced - default: /dev/null - with_legacy: true -- name: leveldb_compact_on_mount - type: bool - level: advanced - default: false - with_legacy: true - name: rocksdb_log_to_ceph_log type: bool level: advanced diff --git a/src/common/options/mon.yaml.in b/src/common/options/mon.yaml.in index 1cd655ad4825..ff8813c982f9 100644 --- a/src/common/options/mon.yaml.in +++ b/src/common/options/mon.yaml.in @@ -1092,7 +1092,7 @@ options: default: true services: - mon -# compact leveldb on ceph-mon start +# compact RocksDB on ceph-mon start - name: mon_compact_on_start type: bool level: advanced @@ -1104,7 +1104,7 @@ options: monitor database and improve the performance of it if the regular compaction fails to work. with_legacy: true -# trigger leveldb compaction on bootstrap +# trigger RocksDB compaction on bootstrap - name: mon_compact_on_bootstrap type: bool level: advanced diff --git a/src/common/subsys.h b/src/common/subsys.h index 3e558b440925..d7350586ae18 100644 --- a/src/common/subsys.h +++ b/src/common/subsys.h @@ -74,7 +74,6 @@ SUBSYS(bluefs, 1, 5) SUBSYS(bdev, 1, 3) SUBSYS(kstore, 1, 5) SUBSYS(rocksdb, 4, 5) -SUBSYS(leveldb, 4, 5) SUBSYS(fuse, 1, 5) SUBSYS(mgr, 2, 5) SUBSYS(mgrc, 1, 5)