[
https://issues.apache.org/jira/browse/FLUME-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609969#comment-13609969
]
Flume QA commented on FLUME-1516:
---------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12573799/FLUME-1516-5.patch
against FLUME-1787.
{color:red}Overall:{color} -1 due to an error
{color:red}ERROR:{color} git merge failed
Console output: https://builds.apache.org/job/PreCommit-FLUME-Build/23/console
This message is automatically generated.
> Write Dual Checkpoints to avoid replays
> ---------------------------------------
>
> Key: FLUME-1516
> URL: https://issues.apache.org/jira/browse/FLUME-1516
> Project: Flume
> Issue Type: New Feature
> Components: Channel
> Affects Versions: v1.3.0
> Reporter: Brock Noland
> Assignee: Hari Shreedharan
> Fix For: v1.4.0
>
> Attachments: DualCheckpoints.pdf, DualCheckpointsv2.pdf,
> DualCheckpointsv3.pdf, FLUME-1516-1.patch, FLUME-1516-2.patch,
> FLUME-1516-3.patch, FLUME-1516-4.patch, FLUME-1516-5.patch, FLUME-1516.patch
>
>
> Per the LFS paper (http://www.cs.berkeley.edu/~brewer/cs262/LFS.pdf) we can
> write two checkpoints to avoid replaying the logs in the case we
> crash/shutdown while writing a checkpoint.
> Section 4:
> "In order to handle a crash during a checkpoint operation there are actually
> two checkpoint regions, and checkpoint operations alternate between them. The
> checkpoint time is in the last block of the checkpoint so if the checkpoint
> fails the time will not be updated. During reboot, the system reads both
> checkpoint regions and uses the one with the most recent time."
--
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