Skip to content

Conversation

@original-brownbear
Copy link
Contributor

The code path for closed indices is dead code here ever since #39644
because shards(currentState, indexIds, ...) does not set
MISSING on a closed index's shard that is assigned any longer. Before that change it would always set MISSING for a closed index's shard even it was assigned.
=> simplified the code accordingly.

backport of #56764

The code path for closed indices is dead code here ever since elastic#39644
because `shards(currentState, indexIds, ...)` does not set
`MISSING` on a closed index's shard that is assigned any longer. Before that change it would always set `MISSING` for a closed index's shard even it was assigned.
=> simplified the code accordingly.
@original-brownbear original-brownbear added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Jul 13, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jul 13, 2020
@original-brownbear original-brownbear merged commit 4e574a7 into elastic:7.x Jul 13, 2020
@original-brownbear original-brownbear deleted the 56764-7.x branch July 13, 2020 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants