[
https://issues.apache.org/jira/browse/BOOKKEEPER-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matteo Merli updated BOOKKEEPER-351:
------------------------------------
Attachment: 0001-BOOKKEEPER-351-asyncAddEntry-should-not-throw-an-exc.patch
Attached patch with test case showing the issue
> asyncAddEntry should not throw an exception
> -------------------------------------------
>
> Key: BOOKKEEPER-351
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-351
> Project: Bookkeeper
> Issue Type: Bug
> Affects Versions: 4.2.0
> Reporter: Matteo Merli
> Priority: Minor
> Fix For: 4.2.0
>
> Attachments:
> 0001-BOOKKEEPER-351-asyncAddEntry-should-not-throw-an-exc.patch
>
>
> There are cases where LedgerHandle.asyncAddEntry() fails with a
> RuntimeException that is thrown by executor.submit().
> It should better invoke the callback with a failure result.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira