commitlog icon indicating copy to clipboard operation
commitlog copied to clipboard

Flushing does not sync the data to disk

Open tqwewe opened this issue 1 year ago • 0 comments

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.

tqwewe avatar May 17 '24 03:05 tqwewe