Meta server: track down and fix endurance test failure with fsck. Check if the next log segment exists prior to loading current log segment in order to allow fsck to load all segments while meta server is running. The meta server might close the current segment, and create the new segment after reading / loading tail of the current segment, in which case the last read might not have the last checksum line.
Meta server: track down and fix endurance test failure with fsck. Check if the next log segment exists prior to loading current log segment in order to allow fsck to load all segments while meta server is running. The meta server might close the current segment, and create the new segment after reading / loading tail of the current segment, in which case the last read might not have the last checksum line.

quantcast/qfs,quantcast/qfs,quantcast/qfs,quantcast/qfs,quantcast/qfs,quantcast/qfs,quantcast/qfs,quantcast/qfs