New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure migration thread dies during shutdown #8565
Conversation
There's still problem in invocation system retry mechanism, which will make |
Since this PR fixes something that's is itself an issue, I propose we merge this and have another PR to fix the invocation system. |
👍 |
The current build got stuck during testing, without timing out. |
I don't think it will pass. You just encountered the infinite block issue during retry. |
|
Yes, clearly not the culprit here. The change may affect any other test, of course, but it would still fail after the regular JUnit timeout. |
For reference, this is the list of all tests which were running at the point it got stuck:
|
The repeated run is also stuck. The list of still-running tests is now as follows:
|
0de7f48
to
f8b18eb
Compare
I'm closing this one in favour of #8610 |
As described in #8560, the migration thread is not joined after interrupting, leading to a possible (and actually observed) thread leak. This PR ensures the thread is dead before proceeding with the shutdown procedure.
This PR also includes some non-related code style cleanup in collection classes.