dweiss opened a new issue, #14664:
URL: https://github.com/apache/lucene/issues/14664
### Description
It hangs in the 'restarter' thread on this condition:
```
while (startupThreads.size() > 0) {
Thread.sleep(10);
}
```
the main thread just joins the restarted and never ends.
The bug is easy to show if you add a sleep before startupThreads.add(t); it
is currently invoked after the sub-thread has been started - this means that it
is possible the sub-thread removes itself from the startupThreads list before
it's added to it, leaving the list in an inconsistent state (and never reach an
empty state).
### Version and environment details
_No response_
--
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]