Skip to content

[7.x] Don't assign persistent tasks to nodes shutting down (#72260)#72426

Merged
dakrone merged 2 commits intoelastic:7.xfrom
dakrone:backport/7.x/pr-72260
Apr 28, 2021
Merged

[7.x] Don't assign persistent tasks to nodes shutting down (#72260)#72426
dakrone merged 2 commits intoelastic:7.xfrom
dakrone:backport/7.x/pr-72260

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Apr 28, 2021

Backports the following commits to 7.x:

This commit changes the `PersistentTasksClusterService` to limit nodes for a task to a subset of
nodes (candidates) that are not currently shutting down.

It does not yet cancel tasks that may already be running on the nodes that are shut down, that will
be added in a subsequent request.

Relates to elastic#70338
@dakrone dakrone added backport :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown v7.14.0 labels Apr 28, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Apr 28, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@dakrone dakrone merged commit 42e61e0 into elastic:7.x Apr 28, 2021
@dakrone dakrone deleted the backport/7.x/pr-72260 branch April 28, 2021 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown Team:Core/Infra Meta label for core/infra team v7.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants