File tree 1 file changed +3
-1
lines changed
server/src/main/java/org/elasticsearch/snapshots
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 45
45
* {@link org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus} that tracks the assignment of which node is to snapshot which
46
46
* shard. All shard snapshots are executed on the shard's primary node. Thus all shards for which the primary node was found to have a
47
47
* healthy copy of the shard are marked as being in state {@code INIT} in this map. If the primary for a shard is unassigned, it is marked
48
- * as {@code MISSING} in this map. In case the primary is initializing at this point, it is marked as in state {@code WAITING}.</li>
48
+ * as {@code MISSING} in this map. In case the primary is initializing at this point, it is marked as in state {@code WAITING}. In case a
49
+ * shard's primary is relocated at any point after its {@code SnapshotsInProgress.Entry} has moved to state {@code STARTED} and thus been
50
+ * assigned to a specific cluster node, that shard's snapshot will fail and move to state {@code FAILED}.</li>
49
51
*
50
52
* <li>The new {@code SnapshotsInProgress.Entry} is then observed by
51
53
* {@link org.elasticsearch.snapshots.SnapshotShardsService#clusterChanged} on all nodes and since the entry is in state {@code STARTED}
You can’t perform that action at this time.
0 commit comments