Runtian opened a new pull request, #4932:
URL: https://github.com/apache/cassandra/pull/4932

   NativeLibrary.trySkipCache splits ranges larger than Integer.MAX_VALUE 
before passing them to posix_fadvise, but incorrectly moved the offset backward 
after each chunk, so page-cache eviction for ranges over 2 GiB targeted the 
wrong offsets. Advance the offset so all chunks cover consecutive forward file 
ranges, and add deterministic unit coverage for large, boundary, 
nonzero-offset, and whole-file ranges.
   
   JIRA: https://issues.apache.org/jira/browse/CASSANDRA-21511


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to