[ https://issues.apache.org/jira/browse/BOOKKEEPER-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134439#comment-15134439 ]
ASF GitHub Bot commented on BOOKKEEPER-891: ------------------------------------------- GitHub user merlimat opened a pull request: https://github.com/apache/bookkeeper/pull/12 BOOKKEEPER-891: Read entries failure should trigger callback only once When reading multiple entries with `LedgerHandle.asyncReadEntries()`, in case there is a read error, the callback is currently being invoked for each of the requested entries. Since a single "success" callback is expected, we should also have a single "failure" callback invocation. You can merge this pull request into a Git repository by running: $ git pull https://github.com/merlimat/bookkeeper bk-891-read-callbacks Alternatively you can review and apply these changes as the patch at: https://github.com/apache/bookkeeper/pull/12.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #12 ---- commit 58e62042b45a72b846e4d69184b9ea074c41f654 Author: Matteo Merli <mme...@apache.org> Date: 2015-12-02T01:35:04Z BOOKKEEPER-891: Read entries failure should trigger callback only once ---- > Read entries failure should trigger callback only once > ------------------------------------------------------ > > Key: BOOKKEEPER-891 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-891 > Project: Bookkeeper > Issue Type: Bug > Reporter: Matteo Merli > Assignee: Matteo Merli > Priority: Minor > Fix For: 4.4.0 > > > When reading multiple entries with > {code}LedgerHandle.asyncReadEntries(){code}, in case there is a read error, > the callback is currently being invoked for each of the requested entries. > Since a single "success" callback is expected, we should also have a single > "failure" callback invocation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)