Skip to content

Node shutdown replacement doesn't account for complete shutdown #139897

@rjernst

Description

@rjernst

When a node is being shutdown for replacement, shards are only allowed to be copied from the source node to the destination replacement node. Once the migration of those shards is complete, the new node should be able to begin receiving additional shards. However, the allocation decider currently only looks at a replacement shutdown existing. It does not calculate the overall status of the shutdown, so even when the shutdown is complete, as long as the shutdown record exists additional allocations cannot be made to the new node.

While node shutdown records should be cleaned up, we shouldn't block allocation once the shutdown is complete.

Metadata

Metadata

Assignees

Labels

:Distributed/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)>bugTeam:Distributed Coordination (obsolete)Meta label for Distributed Coordination team. Obsolete. Please do not use.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions