viliam-durina commented on issue #14334:
URL: https://github.com/apache/lucene/issues/14334#issuecomment-2770735674

   Without fsync, there's no guarantee that anything you wrote was written. The 
OS delays the writes. If you close, the data is still in memory, the OS later 
tries to write and fails with an IO error, and it has no way to tell you about 
the problem, and discards the pages. If you read it back, it might be garbage, 
truncated, or something else, and no IO error was ever reported, let alone a 
system crash.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to