Cannot get the status for an incompatible snapshot – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-7.3

Briefly, this error occurs when you’re trying to get the status of a snapshot that was created with a different, incompatible version of Elasticsearch. This could be due to a version upgrade or downgrade. To resolve this issue, you can either upgrade or downgrade your Elasticsearch to the version compatible with the snapshot, or create a new snapshot with the current version. Alternatively, you can restore the snapshot in a compatible Elasticsearch version, reindex the data, and then take a new snapshot compatible with your current version.

This guide will help you check for common problems that cause the log ” cannot get the status for an incompatible snapshot ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: admin, snapshot, cluster.

Log Context

Log “cannot get the status for an incompatible snapshot” class name is TransportSnapshotsStatusAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 continue;
 } else {
 throw new SnapshotMissingException(repositoryName; snapshotName);
 }
 } else if (repositoryData.getIncompatibleSnapshotIds().contains(snapshotId)) {
 throw new SnapshotException(repositoryName; snapshotName; "cannot get the status for an incompatible snapshot");
 }
 SnapshotInfo snapshotInfo = snapshotsService.snapshot(repositoryName; snapshotId);
 List shardStatusBuilder = new ArrayList<>();
 if (snapshotInfo.state().completed()) {
 Map shardStatuses =

 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.