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

Nanda kumar commented on HDDS-271:
----------------------------------

Do we have to use {{getRangeKVs}} and load all the values into memory for an 
iterator implementation? We can take advantage of the db iterator that is 
provided by RocksDB/LevelDB. We might be missing on richer APIs like 
{{getBlockCount}}, but do we really need those APIs for an Iterator? Loading 
all the values into a list for an iteration will have huge memory impact if we 
create iterators for multiple containers at the same time.

> 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