[
https://issues.apache.org/jira/browse/HDDS-17878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sammi Chen updated HDDS-17878:
------------------------------
Description:
Support Rocksdb Iterator UpperBound to not read unrelated tombstone.
A typical user case, see the attachment. The current iterator needs to find the
next live object which doesn't start with the prefix to stop. If in between
there are hundreds of thousands of tombstone, each will be evaluated.
This task aims to set a upperBound to each such iterator, so in the above user
case, the iterator will return after one tombstone is visited.
was:
Support Rocksdb Iterator UpperBound to skip unrelated tombstone.
A typical user case, see the attachment. The current iterator needs to find the
next live object which doesn't start with the prefix to stop. If in between
there are hundreds of thousands of tombstone, each will be evaluated.
This task aims to set a upperBound to each such iterator, so in the above user
case, the iterator will return after one tombstone is visited.
> Support Rocksdb Iterator UpperBound
> -----------------------------------
>
> Key: HDDS-17878
> URL: https://issues.apache.org/jira/browse/HDDS-17878
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Sammi Chen
> Assignee: Sammi Chen
> Priority: Major
> Labels: pull-request-available
> Attachments: user-case.png
>
>
> Support Rocksdb Iterator UpperBound to not read unrelated tombstone.
> A typical user case, see the attachment. The current iterator needs to find
> the next live object which doesn't start with the prefix to stop. If in
> between there are hundreds of thousands of tombstone, each will be evaluated.
> This task aims to set a upperBound to each such iterator, so in the above
> user case, the iterator will return after one tombstone is visited.
>
>
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]