Skip to content

[7.x] Allow re-allocation of replica shards on nodes during shutdown replacement (#79171)#79266

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-79171
Oct 15, 2021
Merged

[7.x] Allow re-allocation of replica shards on nodes during shutdown replacement (#79171)#79266
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-79171

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Oct 15, 2021

Backports the following commits to 7.x:

…ement (elastic#79171)

This commit allows replica shards that have existing data on disk to be re-allocated to the target
of a "REPLACE" type node shutdown. Prior to this if the target node of a shutdown were to restart,
the replicas would not be allowed to be allocated even if their data existed on disk.

Relates to elastic#70338 as a follow-up to elastic#76247
@dakrone dakrone added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Oct 15, 2021
@dakrone dakrone added the :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown label Oct 15, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Oct 15, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine elasticsearchmachine merged commit 210a9b1 into elastic:7.x Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown Team:Core/Infra Meta label for core/infra team v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants