[ 
https://issues.apache.org/jira/browse/HDDS-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-6428:
---------------------------------
    Labels: pull-request-available  (was: )

> Add prefix iterator support to RDBTable.
> ----------------------------------------
>
>                 Key: HDDS-6428
>                 URL: https://issues.apache.org/jira/browse/HDDS-6428
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Mark Gui
>            Assignee: Mark Gui
>            Priority: Major
>              Labels: pull-request-available
>
> 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.
> h4. 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to