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
EventLoop thread blocked on Vertx.clusteredVertx() #1302
Comments
We see similar stack traces during shutdown. We think it may relate to our shutdown strategy (we shutdown all running applications at the same time). This does not always happen, but the "beforeLeave" method seems to block for a timeout of 60 seconds before dropping off.
|
@tsegismont what's your opinion on this ? |
@vietj I don't know why the haInfo map was created as a sync map in the first place. But since it was created like this, it is possible that some operations block the event loop. To fix that properly, we should wrap its usage with executeBlocking, but that means changing a few HAManager methods signature. I wouldn't do that for 3.4. |
@tsegismont can you provide a patch to fix this for 3.6.0 ? |
assigned to you @tsegismont |
Vertx 3.2.1.
Sometimes EventLoop thread blocked on Vertx.clusteredVertx().
Method Vertx.clusteredVertx() called on the main java thread on application startup.
Stacktrace:
The text was updated successfully, but these errors were encountered: