[ 
https://issues.apache.org/jira/browse/FLUME-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446560#comment-13446560
 ] 

Hudson commented on FLUME-1527:
-------------------------------

Integrated in flume-trunk #291 (See 
[https://builds.apache.org/job/flume-trunk/291/])
    FLUME-1527. Seed TransactionID/WriteOrderID in the case no logs need to be 
replayed. (Revision 63e0f43c5281a643af5709d4b09c15d03c142c77)

     Result = SUCCESS
hshreedharan : 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git;a=summary&a=commit&h=63e0f43c5281a643af5709d4b09c15d03c142c77
Files : 
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/ReplayHandler.java

                
> Seed TransactionID/WriteOrderID in the case no logs need to be replayed
> -----------------------------------------------------------------------
>
>                 Key: FLUME-1527
>                 URL: https://issues.apache.org/jira/browse/FLUME-1527
>             Project: Flume
>          Issue Type: Bug
>          Components: Channel
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: FLUME-1527-0.patch
>
>
> At startup we seed the sequence numbers for transaction id and write order id 
> with the highest of the following:
> -current time in ms
> -the highest id we find from the log files we find during replay
> There is a small and unlikely hole in this logic. If an agent had received 
> tons of events and thus the sequence numbers had incremented past current 
> time in ms, then checkpointed, received no more events, and restarted. We 
> would not have any logs to replay and as such would seed the sequence numbers 
> with only current time in ms.

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