Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't delete local shard data when its allocated on a node that doesn…
…'t exists This is an extreme case, exposed by a bug we had in our allocation in local gateway, causing a cluster state that doesn't include a node in the nodes list, but still has the shard in the routing table pointing at the non existent node. Then, when a node on the same box comes back, it will cause the local shard data to be deleted because it thinks its fully allocated on other nodes. fixes elastic#4502
- Loading branch information