vijaykriishna opened a new pull request, #16207: URL: https://github.com/apache/lucene/pull/16207
### Description The data race in the poll() method has been resolved by moving the lock acquisition to before the if (size > 0) check. This ensures that the entire operation—both the validation and the heap operations—is protected by the lock as a single atomic unit. Resolves: https://github.com/apache/lucene/issues/16033 -- 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]
