]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
kv/RocksDBStore: don't use real wholespace iterator for prefixed access
authorIgor Fedotov <igor.fedotov@croit.io>
Wed, 1 Feb 2023 21:19:38 +0000 (00:19 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Wed, 1 Feb 2023 21:49:08 +0000 (00:49 +0300)
commit46c0a61f578c02e8a5cf4e29415989ae6ec4681c
tree8c4e011710394dd24748bea0a1ae0960dc48549b
parentdeb2f9703b1e10dc90d978506c241e912c36f5e9
kv/RocksDBStore: don't use real wholespace iterator for prefixed access

We can bound to default CF when here are no matching CF for a specified prefix.
No need to use real wholespace iterator running over every CF. Hence we
might benefit from not iterating over large but useless CFs, e.g. OMAP related ones.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/kv/KeyValueDB.h
src/kv/RocksDBStore.cc