Received clone shard snapshot status update but this shard is not tracked in – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.1-7.13

Briefly, this error occurs when Elasticsearch receives a status update for a shard snapshot that it doesn’t recognize or track in its current state. This could be due to a synchronization issue or a problem with the cluster state. To resolve this issue, you can try the following: 1) Restart the Elasticsearch node to refresh the cluster state. 2) Check the cluster health and ensure all nodes are properly connected. 3) Verify the shard snapshot status and ensure it’s correctly registered in the cluster. 4) If the problem persists, consider re-indexing the data.

This guide will help you check for common problems that cause the log ” Received clone shard snapshot status update [{}] but this shard is not tracked in [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: snapshot, shard.

Log Context

Log “Received clone shard snapshot status update [{}] but this shard is not tracked in [{}]” classname is SnapshotsService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    if (entry.snapshot().getSnapshotId().equals(updatedSnapshot.getSnapshotId())) {
                        assert entry.isClone() : "Non-clone snapshot [" + entry + "] received update for clone ["
                                + updateSnapshotState + "]";
                        final ShardSnapshotStatus existing = entry.clones().get(finishedShardId);
                        if (existing == null) {
                            logger.warn("Received clone shard snapshot status update [{}] but this shard is not tracked in [{}]";
                                    updateSnapshotState; entry);
                            assert false : "This should never happen; master will not submit a state update for a non-existing clone";
                            continue;
                        }
                        if (existing.state().completed()) {

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?