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

   > personally I think we should just simply fsync the files before we close 
them: nothing more fancy than that.
   
   If we rely on the file being ever durably stored, then there's no other 
option than this. With two exceptions:
   - we still need the fsync on the parent directory to persist the file 
metadata on Linux
   - I think we do not need to fsync temporary files 
(`Directory.createTempOutput`)


-- 
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