[ https://issues.apache.org/jira/browse/FLUME-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461307#comment-13461307 ]
Hudson commented on FLUME-1593: ------------------------------- Integrated in flume-trunk #308 (See [https://builds.apache.org/job/flume-trunk/308/]) FLUME-1593. FileChannel race condition when log file rolls. (Revision 541b0c7e0baeeb5e53b5b630a38b60c68ffa2d81) Result = SUCCESS hshreedharan : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=541b0c7e0baeeb5e53b5b630a38b60c68ffa2d81 Files : * flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java * flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFileRetryableIOException.java * flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFile.java * flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannel.java * flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestLogFile.java > FileChannel race condition when log file rolls > ---------------------------------------------- > > Key: FLUME-1593 > URL: https://issues.apache.org/jira/browse/FLUME-1593 > Project: Flume > Issue Type: Improvement > Components: Channel > Affects Versions: v1.3.0 > Reporter: Brock Noland > Assignee: Brock Noland > Priority: Minor > Attachments: FLUME-1593-0.patch, FLUME-1593-1.patch > > > There is a non-harmful race condition when we roll a log. One thread can call > logFiles.get(logFileIndex).{take,put,etc} while another is closing that log > writer. -- 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