Skip to content

Fix ReopenWhileClosingIT Deadlocks#92662

Merged
original-brownbear merged 1 commit intoelastic:mainfrom
original-brownbear:fix-blocking-management-pool
Jan 4, 2023
Merged

Fix ReopenWhileClosingIT Deadlocks#92662
original-brownbear merged 1 commit intoelastic:mainfrom
original-brownbear:fix-blocking-management-pool

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Instead of blocking either a transport or management thread here (the latter will lead to a dead-lock if there's only a single management thread available, we should just queue up those sends and run them async via listener).
This test is currently only working on main because of #90193, this makes it work with a single management thread as well so it works on 7.x again.

closes #92629

Instead of blocking either a transport or management thread here (the latter will lead to
a dead-lock if there's only a single management thread available, we should just queue
up those sends and run them async via listener).
This test is currently only working on `main` because of #90193, this makes it work
with a single management thread as well so it works on 7.x again.

closes #92629
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v8.6.1 v8.7.0 v7.17.9 labels Jan 4, 2023
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Jan 4, 2023
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Copy Markdown
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Thanks Tanguy!

@original-brownbear original-brownbear merged commit 24e2f32 into elastic:main Jan 4, 2023
@original-brownbear original-brownbear deleted the fix-blocking-management-pool branch January 4, 2023 11:42
elasticsearchmachine pushed a commit that referenced this pull request Jan 4, 2023
Instead of blocking either a transport or management thread here (the latter will lead to
a dead-lock if there's only a single management thread available, we should just queue
up those sends and run them async via listener).
This test is currently only working on `main` because of #90193, this makes it work
with a single management thread as well so it works on 7.x again.

closes #92629
elasticsearchmachine pushed a commit that referenced this pull request Jan 4, 2023
Instead of blocking either a transport or management thread here (the latter will lead to
a dead-lock if there's only a single management thread available, we should just queue
up those sends and run them async via listener).
This test is currently only working on `main` because of #90193, this makes it work
with a single management thread as well so it works on 7.x again.

closes #92629
@original-brownbear original-brownbear restored the fix-blocking-management-pool branch April 18, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v7.17.9 v8.6.1 v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ReopenWhileClosingIT testReopenDuringCloseOnMultipleIndices failing

3 participants