]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv/RocksDBStore: Remove feature to make WholeSpaceIterator based on bounded iterator 46095/head
authorAdam Kupczyk <akupczyk@redhat.com>
Fri, 29 Apr 2022 21:32:43 +0000 (23:32 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Fri, 29 Apr 2022 22:08:32 +0000 (00:08 +0200)
commit6b9b93829c9461457448e2bd17052374794101ff
tree42df7b7af3ba727e9674221847cdc91032be7ab9
parent1ffef5da9e56059adce9032f22746ec85c4ea4f1
kv/RocksDBStore: Remove feature to make WholeSpaceIterator based on bounded iterator

Iterator-bounding feature is introduced to make RocksDB iterators limited, so they
would less likely traverse over tombstones.
This is used when listing keys in fixed range, for example OMAPS for specific object.

It is problematic when extending this logic to WholeSpaceIterator,
since prefix must be taken into account.

Fixes: https://tracker.ceph.com/issues/55444
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/kv/KeyValueDB.h
src/kv/MemDB.h
src/kv/RocksDBStore.cc
src/kv/RocksDBStore.h
src/test/ObjectMap/KeyValueDBMemory.cc
src/test/ObjectMap/KeyValueDBMemory.h