]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv/RocksDBStore: Configure compact-on-deletion for all CFs 57404/head
authorJoshua Baergen <jbaergen@digitalocean.com>
Tue, 20 Feb 2024 21:04:19 +0000 (14:04 -0700)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 10 May 2024 16:39:40 +0000 (23:39 +0700)
commitae8151ab98989fa6c7f16bb33a2480a18d8b7089
tree6b3922bdfb6e502db8ed457e412ed5f136f6a44c
parentc190bdeec0cb2c5a9760aa085c602e6994249982
kv/RocksDBStore: Configure compact-on-deletion for all CFs

update_column_family_options() is called only for non-default CFs,
whereas load_rocksdb_options() sets options for all CFs, including
default. This isn't really a problem for new installs, where the default
CF isn't used for very much, but for upgrades where resharding has not
yet happened, the bulk of rocksdb data is still in the default CF and so
it's important that it also gets compact-on-deletion configured, if
desired.

Fixes: https://tracker.ceph.com/issues/64511
Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
(cherry picked from commit e31c7249b3984d40fd0c2abfef1d2402112ed655)
src/kv/RocksDBStore.cc