bharath-techie commented on issue #16213:
URL: https://github.com/apache/lucene/issues/16213#issuecomment-4842884996

   https://github.com/apache/lucene/issues/14463 / 
https://github.com/opensearch-project/OpenSearch/issues/17722 - similar issue 
in the past. Can you check if its related ?  Back then, this was the issue :
   
   ```
   Looks like compound is true and FDT being within the compound file matters 
here and it ended up being the root cause.
   
   fieldsStream = d.openInput(fieldsStreamFN, context.withRandomAccess()); // d 
is compoundDirectory
   
   In 3.0
   
   In compound reader openInput , handle.slice(name, entry.offset, 
entry.length, context.readAdvice()) in Lucene90CompoundReader calls
    public final MemorySegmentIndexInput slice( String sliceDescription, long 
offset, long length, ReadAdvice advice) throws IOException - This madvises all 
memory segments. [ with random ]
   
   In 2.19
   
   Looks like handle.slice(name, entry.offset, entry.length) in 
Lucene90CompoundReader calls
    public final MemorySegmentIndexInput slice( String sliceDescription, long 
offset, long length) throws IOException - This does not call madvise for memory 
segments and simply initializes. Hence this was still fast in 2.19.
   ```


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