Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0
-
None
Description
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."
Attachments
Attachments
Issue Links
- is related to
-
FLUME-1968 FileChannel new format while being backwards compatible
- Open
- links to