You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2013/11/11 00:14:17 UTC

[jira] [Updated] (BOOKKEEPER-223) PendingReadOp tries to read all entries at once

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo updated BOOKKEEPER-223:
---------------------------------

    Fix Version/s:     (was: 4.3.0)
                   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)