Skip to content

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Oct 28, 2019

Fixes: #4834

@geoand
Copy link
Contributor Author

geoand commented Oct 28, 2019

I am not sure this is proper solution, but from debugging #4834 it seems that we really need to close Vert.x after Arc, otherwise some shutdown tasks that depend on vert.x to be executed (like in the case of Kafka) can get deadlocked.

@cescoffier
Copy link
Member

LGTM, waiting for Stuart opinion.

@geoand geoand added this to the 0.27.0 milestone Oct 28, 2019
@stuartwdouglas
Copy link
Collaborator

I don't really like this, but it will do for now.

At some point I think we are going to have to revisit how we handle ordering of both startup and shutdown tasks.

@stuartwdouglas stuartwdouglas merged commit bb6d667 into quarkusio:master Oct 28, 2019
@geoand
Copy link
Contributor Author

geoand commented Oct 28, 2019

I don't really like this, but it will do for now.

At some point I think we are going to have to revisit how we handle ordering of both startup and shutdown tasks.

Makes sense. The ordering that exists now is totally implicit and susceptible to these kinds of issues.

@geoand geoand deleted the #4834 branch October 28, 2019 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests are hanging when using a Kafka consumer and the mailer.

4 participants