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