Allocation Explain API default unassigned primary #108207
Labels
:Distributed Coordination/Allocation
All issues relating to the decision making around placing a shard (both master logic & on the nodes)
>enhancement
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Description
👋 Would you kindly consider defaulting to a primary shard when the Allocation Explain API is ran without a request body?
E.g. 01611206 the no-request-body returned info about a replica which stated
last_allocation_status: no_attempt
(which made it sound like user needed to investigate software-hardware/logic setup) but attempting the same index's primary shard with an explicit request body reportedno_valid_shard_copy
.AFAICT we generally assume users should resolve primaries first in all cases, so I believe it generally makes sense that IF no request body is provided our code's random shard to report on would default attempt to report on a primary.
The text was updated successfully, but these errors were encountered: