[ 
https://issues.apache.org/jira/browse/HDDS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551374#comment-16551374
 ] 

Ajay Kumar commented on HDDS-271:
---------------------------------

[~bharatviswa] thanks for working on this. 
KeyValueBlockIterator
 {code}blocks = metadataStore.getRangeKVs(null,
        Integer.MAX_VALUE, MetadataKeyFilters.getNormalKeyFilter());{code}
* I think it will be useful to allow optional parameters in constructor for 
start/stop key and filters. For large stores this will allow quick traversal of 
required blocks without going through whole db data.
* Since we are maintaining list may be can provide optional travel for previous 
and index based retrieval as well? 

> Create a block iterator to iterate blocks in a container
> --------------------------------------------------------
>
>                 Key: HDDS-271
>                 URL: https://issues.apache.org/jira/browse/HDDS-271
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-271.00.patch
>
>
> Create a block iterator to scan all blocks in a container.
> This one will be useful during implementation of container scanner.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to