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

Roshan Naik updated FLUME-1321:
-------------------------------

    Attachment: FLUME-1321.patch

Mike,    If we implicitly rollback in close(), we wont get the desired no-throw 
semantics in close().
 I suspect it is not be a good idea to do that. I have a revised the patch w/o 
the implicit rollback.

                
> BasicTransactionSemantics should never throw from close()
> ---------------------------------------------------------
>
>                 Key: FLUME-1321
>                 URL: https://issues.apache.org/jira/browse/FLUME-1321
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.1.0
>            Reporter: Mike Percy
>            Assignee: Roshan Naik
>             Fix For: v1.4.0
>
>         Attachments: FLUME-1321.patch
>
>
> Currently, BasicTransactionSemantics can throw from close(). This means that 
> exceptions will be clobbered in cases where unexpected exceptions are thrown, 
> since close() is idiomatically called in a finally block.

--
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

Reply via email to