You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2012/09/02 16:50:08 UTC

[jira] [Updated] (BOOKKEEPER-385) replicateLedgerFragment should throw Exceptions in error conditions

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

Uma Maheswara Rao G updated BOOKKEEPER-385:
-------------------------------------------

    Attachment: BOOKKEEPER-385.patch

Attached a simple patch, now replicateLedgerFragment will throw exceptions out.
                
> replicateLedgerFragment should throw Exceptions in error conditions
> -------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-385
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-385
>             Project: Bookkeeper
>          Issue Type: Sub-task
>            Reporter: Ivan Kelly
>            Assignee: Uma Maheswara Rao G
>             Fix For: 4.2.0
>
>         Attachments: BOOKKEEPER-385.patch
>
>
> BookKeeperAdmin#replicateLedgerFragment should throw an exception on error conditions. Currently it only returns boolean, whether it succeeded to not. It should return void, and throw Exceptions in error cases. 
> This will allow code using it to possibly resolve the issue causing the exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira