commitlog
commitlog copied to clipboard
Flushing does not sync the data to disk
The CommitLog::flush method calls File::flush on the segment file, however this does not guarantee the data has been written to. For this, File::sync_all or File::sync_data should be used.