Is there a general way in ES to know "oops, hots, html, index to be rebuilt"?
Alternatively, a template or approach that answers this question?
So far, we have used the following approach:
1) If the cluster goes red, the data is lost, the index must be rebuilt.
2) If the cluster shimmers between green and yellow, no data loss has occurred.
3) Like # 2, on an index with 5 shards, if the value of "active_shards" is equal to or greater than 5, all is well.
Is # 3 honest? Basically, this is correct:
DataLossHasOccurred == ("active_shards" <"active_primary_shards")
elasticsearch
Jonesome
source share