Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
In CommitLog::recover the list of segments to recover from is determined by removing the files managed by the CommitLogSegmentManager from the list of files present in the commit log directory. Unfortunatly, due to the way the creation of segments is done there is a time window where a segment file has been created but has not been added yet to the list of segments managed by the CommitLogSegmentManager. If the filtering ocurs during that time window the Commit log might try to recover from that new segment and crash.