]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: set rocksdb iterator bounds for Bluestore::_collection_list() 57625/head
authorCory Snyder <csnyder@iland.com>
Wed, 14 Dec 2022 11:27:33 +0000 (11:27 +0000)
committersajibreadd <sajibreadd@gmail.com>
Wed, 22 May 2024 10:54:15 +0000 (16:54 +0600)
commitd2e9343b0effd467a3f258ce9b87f4edc279f616
tree86980bfeda4d2fcf26f4757eb268ddd01f2766ab
parent8e7dcf3d8088095bd4caa51f24f714c968b47f69
os/bluestore: set rocksdb iterator bounds for Bluestore::_collection_list()

When Bluestore::_collection_list() is called during PG removal, rocksdb
often has to iterate over many rocksdb deletion tombstones from recenently
deleted onode keys. This change bounds the rocksdb iteration when possible,
to avoid high latencies caused by iteration over many contiguous deletion
tombstones.

Fixes: https://tracker.ceph.com/issues/58274
Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit a6bcb577c6626afa226ac63f068cb7287c3042b4)
src/os/bluestore/BlueStore.cc