gun-pi opened a new issue, #15605: URL: https://github.com/apache/lucene/issues/15605
### Description `TopFieldCollectorManager` class documentation states that it creates an instance "with thread-safe internal states", but the implementation is not thread-safe when newCollector() is called concurrently. `Collectors` field is `ArrayList` that is modified in the newCollector() method without any synchronization. I suppose "thread-safe" claim should be removed from documentation. -- 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]
