jpountz opened a new pull request, #13467:
URL: https://github.com/apache/lucene/pull/13467

   This includes the following changes:
    - New `IndexInput#slice(String, long, long, ReadAdvice)` API that allows 
creating slices with different advices.
    - New `CompoundFormat` that aligns start offsets on multiples of 4,096 to 
prevent multiple sub files from being stored on the same page. This in-turn 
allows `madvise` to give different advices to different files. This is what 
causes the large diff due to the dance required when creating a new codec.
    - `PosixNativeAccess` now explicitly sets `MADV_NORMAL` when called with 
`ReadAdvice.NORMAL`. This is required to be able to override a `RANDOM` advice 
of a compound file with a `NORMAL` advice of a sub file of this compound file.
   


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