jpountz commented on PR #13475: URL: https://github.com/apache/lucene/pull/13475#issuecomment-2173079988
Thanks for looking into this. I agree that it may not be an issue in practice, but I still like that we enforce thread confinment for merging. It seems that the root cause is that we pull readers (`DocValuesProducer`, etc.) when constructing the `MergeState` before potentially forking to a different thread. Would it address the problem if we moved pulling these readers to the thread that actually does the merging? -- 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