How to fix cluster is red, reason: no_valid_shard_copy after stopping data nodes?

If you have no replica shards you need to vacate all indices from the nodes yoiu are to remove before actually removing them. If you do not, a number of primary shards will no longer be available to the cluster, resulting in a red state and lost data.

To fix this youi need to bring the nodes and the data back before following the process described in the docs I linked to.

1 Like