[
https://issues.apache.org/jira/browse/BOOKKEEPER-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823703#comment-13823703
]
Ivan Kelly commented on BOOKKEEPER-223:
---------------------------------------
I don't think it needs a new interface as such, but in any case, it can be
moved to 4.4.0.
> PendingReadOp tries to read all entries at once
> -----------------------------------------------
>
> Key: BOOKKEEPER-223
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-223
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.4.0
>
>
> PendingReadOp tries to read all entries from the bookie ensemble at once, and
> fill an enumeration with what comes back. This is bad. If we have a ledger
> with millions of entries, and you try to read the whole thing, you're client
> will crap out. Of course you can get around this by only requesting a little
> bit at a time, but why doesn't the client do this for you, as we are
> effectively exposing a iterator interface anyhow?
--
This message was sent by Atlassian JIRA
(v6.1#6144)