]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: set rocksdb iterator bounds for Bluestore::_collection_list() 49438/head
authorCory Snyder <csnyder@iland.com>
Wed, 14 Dec 2022 11:27:33 +0000 (11:27 +0000)
committerCory Snyder <csnyder@1111systems.com>
Tue, 9 Apr 2024 13:28:11 +0000 (13:28 +0000)
commita6bcb577c6626afa226ac63f068cb7287c3042b4
tree9afd86bec3c370390b775b6c2a1c6c2e94b5be73
parentf19765ec08fdf42c1667590e74db959361550337
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>
src/os/bluestore/BlueStore.cc