fabriziofortino opened a new pull request, #893:
URL: https://github.com/apache/jackrabbit-oak/pull/893

   #886 introduced a regression when checksum validation is enabled. The buffer 
mark is wrongly positioned when the destination file gets written leading to 
corrupted files. This also explains why the performance results with and 
without checksum validation were similar.
   
   This PR uses streams and byte arrays instead of channels and ByteBuffers to 
perform write file operations and checksum. When the latter is enabled, the 
performance degradation is around 15%. 
   


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