nickva opened a new pull request, #6025:
URL: https://github.com/apache/couchdb/pull/6025

   Let's sync when we truncate/reset headers. In case of truncate that's also a 
metadata operation so it dirties the inode but doesn't necessarily sync. 
Calling datasync will write that metadata change to disk [*]. These resets 
should be very rare so shouldn't be a performance impact.
   
   [*] fdatasync despite its name also syncs metadata required for data 
operations to work correctly, one of those is file size changes when it affects 
data operations (writes at eof or truncates).
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to