Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
So after rocksdb-merge, in schema v3, we will have containerID as key prefixes for all keys in per-disk rocksdb instances.
We should add support for iterating the keys with prefixes.
We can add a new field -- "prefix" – in existing RDBStoreIterator.
Then we check for the prefix field to decide how to iterate through all the keys:
- if we have the prefix set, then we seek to the first key with the prefix before iteration and end iteration upon the first key doesn’t match the prefix.
- else we keep the old way of iterating.
Attachments
Issue Links
- fixes
-
HDDS-6520 Refactor RDBTable#getRangeKVs()
- Resolved
- links to