Review Board 1.7.22


FLUME-1762. File Channel should recover automatically if the checkpoint is incomplete or bad by deleting the contents of the checkpoint directory

Review Request #8396 - Created Dec. 7, 2012 and submitted

Hari Shreedharan
FLUME-1762
Reviewers
Flume
flume-git
Added code to throw a BadCheckpointException, if we can recover from the situation by deleting all files in the checkpoint directory. In the log class, during startup if BadCheckpointException is caught, all files are deleted and replay is retried.
Added unit tests. Modified some existing unit tests to test for this change.
Review request changed
Updated (Dec. 10, 2012, 9:10 p.m.)
  • changed from pending to submitted