]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv/RocksDBStore: Configure compact-on-deletion for all CFs 57402/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:33:20 +0000 (23:33 +0700)
commit30de279dba091d02e6203f229d11fef14eb1f5e0
tree27f8f04487d61bee4c458834a19c5a9422c2d7df
parentd8a071290eb7cb0d18d6459030f60ac50b53621c
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