-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Closed
Labels
:Distributed/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)All 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.Meta label for Distributed Coordination team. Obsolete. Please do not use.
Description
I believe this is a bug introduced in 9.0. When the source index is deleted, the ResizeAllocationDecider throws on null index metadata due to the usage of projectFor. But the code is mean to handle null indexMetadata as indicate by the null check right after the line. Indeed, the version in 8.19 handles null properly.
Throwing exception on null can break desired balance computation and effectively stops the allocation process. We should fix it by handling deleted source index properly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)All 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.Meta label for Distributed Coordination team. Obsolete. Please do not use.