barry3406 commented on issue #15730:
URL: https://github.com/apache/lucene/issues/15730#issuecomment-4276860423

   Can send a PR. The fallback at the segment boundary goes through setPos + a 
relative read, which leaves curSegmentIndex/curPosition advanced, so 
getFilePointer moves. Saving and restoring those three fields around the 
fallback matches the RandomAccessInput contract ("no concept of file 
position"). Opening a PR shortly.


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