I had a cluster node restart while another the cluster was still recovering from another node crashing which resulted in some indexes with missing shards. None of the affected indexes are currently being written and I have snapshots of them.
To recover the missing shards should I just restore the indexes from a snapshot that has all the indexes in their full state.
one further point is that some of the indexes are part of a datastream. Presumably will have to fiddle with those to get them back into the data streams.
Further though will I have to delete the incomplete indexes before attempting to do the restore?
thanks @Stephenb (again ;), my question really was about whether I should delete the index with missing shards before doing the restore and added the other details as an afterthought.
It turns out you have to either close or delete an index before you can restore it so I deleted them.
I now have restored the affected indices and linked the two that were part of a datastream as per @Stephenb 's response to an earlier question.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.