jpountz commented on code in PR #14509: URL: https://github.com/apache/lucene/pull/14509#discussion_r2106283643
########## lucene/core/src/java/org/apache/lucene/store/IOContext.java: ########## @@ -56,7 +56,7 @@ interface FileOpenHint {} * <p>This context should only be used when the read operations will be performed in the same * thread as the thread that opens the underlying storage. */ - IOContext READONCE = new DefaultIOContext(DataAccessHint.SEQUENTIAL); + IOContext READONCE = new DefaultIOContext(DataAccessHint.SEQUENTIAL, ReadOnceHint.INSTANCE); Review Comment: OK, I had missed that. SEQUENTIAL intuitively doesn't sound like the best option, but let's keep it for now then, I'll open a separate discussion. -- 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