[
https://issues.apache.org/jira/browse/BOOKKEEPER-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818621#comment-13818621
]
Sijie Guo commented on BOOKKEEPER-223:
--------------------------------------
moved to 4.4.0 as it requires a new interface.
> 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)