[
https://issues.apache.org/jira/browse/FLUME-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466075#comment-13466075
]
Hudson commented on FLUME-1616:
-------------------------------
Integrated in flume-trunk #311 (See
[https://builds.apache.org/job/flume-trunk/311/])
FLUME-1616: FileChannel will lose data in when rollback fails with
IOException (Revision a76beeb61700f08bafeb625040379ebd56e000a6)
Result = SUCCESS
brock :
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=a76beeb61700f08bafeb625040379ebd56e000a6
Files :
*
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
> FileChannel will lose data in when rollback fails with IOException
> ------------------------------------------------------------------
>
> Key: FLUME-1616
> URL: https://issues.apache.org/jira/browse/FLUME-1616
> Project: Flume
> Issue Type: Bug
> Components: Channel
> Reporter: Brock Noland
> Assignee: Hari Shreedharan
> Fix For: v1.3.0
>
> Attachments: FLUME-1616.patch
>
>
> In doRollback we write to the log first and then to the queue. If the log
> write fails the takes will be lost unless the agent is stopped quickly and
> the events are replayed. I think in the case of an IOException we should
> still put the events back on the queue.
--
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