Lately we have been having this email notification from our Elasticsearch cluster:
[ph-prodr-02] [msgstoreadt-202204][0] unexpected failure while failing shard [shard id [[msgstoreadt-202204][0]],
allocation id [9Cj26sLdRp2sRuc0YW1Hhw],
primary term [1],
message [failed to perform indices:data/write/bulk[s] on replica [msgstoreadt-202204][0],
node[E3qewJBuSXKCfqIfrra-UA],
[R], s[STARTED],
a[id=9Cj26sLdRpeaRuc0YW1Hhw]],
failure [RemoteTransportException[[ph-prodr-01][10.10.10.90:9300][indices:data/write/bulk[s][r]]];
nested: IllegalStateException[[msgstoreadt-202204][0] operation primary term [1] is too old
Please any idea as to why and possible measures to take to resolve this. Thanks for your help.