iprithv opened a new pull request, #5410:
URL: https://github.com/apache/solr/pull/5410

   https://issues.apache.org/jira/browse/SOLR-18693
   
   Lucene 10.3+ stopped setting read advice by default 
(https://github.com/apache/lucene/pull/15040), so merge/flush DataAccessHints 
don't do much for madvise unless something calls setReadAdvice. Solr never did.
   
   Adds opt-in `adviseByContext` (default false) on DirectoryFactory. When on, 
unwraps NRTCaching/FilterDirectory and calls 
`MMapDirectory.setReadAdvice(ADVISE_BY_CONTEXT)` if the delegate is mmap.


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