]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: set rocksdb iterator bounds for Bluestore::_collection_list()
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:46:15 +0000 (16:46 +0600)
commita8c44cb03bfe0ac507b98b3b627d9320664a5ce6
treee6fe6812807f966348a6e45f6d7106b411783dd8
parent0678443a59582697eb26466b89f1b691eeb39460
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