[ https://issues.apache.org/jira/browse/HDDS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16553423#comment-16553423 ]
Xiaoyu Yao commented on HDDS-271: --------------------------------- bq. do we really need those APIs for an Iterator? [~nandakumar131], I have similar question as well. Correct me if I'm wrong [~bharatviswa], seems we are trying to make a generic iterator for container metadata, on top of the current one that is more tied with key-value container metadata. [~ajayydv] the container db is indexed by a flat block id space, we don't have a common prefix excepted for deleted block or secondary index. Agree with [~anu], we can add advanced filter later as new use cases come up. > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org