Brock Noland created FLUME-1568:
-----------------------------------
Summary: Developer guide has incorrect transaction idoms
Key: FLUME-1568
URL: https://issues.apache.org/jira/browse/FLUME-1568
Project: Flume
Issue Type: Improvement
Components: Docs
Reporter: Brock Noland
The developer guide for source/sinks catches only ChannelException and calls
rollback. If a Error or non-ChanneleException is thrown before commit, the
tx.close() call in the finally() block will throw an exception since neither
commit nor rollback will have been called.
--
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