jpountz commented on PR #13535: URL: https://github.com/apache/lucene/pull/13535#issuecomment-2212581169
>> I'm contemplating making MockDirectoryWrapper also fail if IndexInputs get used in a different thread from the one where they were created. > > You mean this for READONCE ones, correct? I meant all `IndexInput`s actually, they should all be used in the thread where they were created (either via `Directory#openInput` or `IndexInput#clone`)? But I'm happy to look into it in a separate issue. > Not sure how we should handle that. Maybe let's remove disallowing of clones and slices, but check that the threads are correct. @jpountz ? This sounds like ok progress over perferction to me. We can look into getting stricter in a followup. -- 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