|
@@ -230,8 +230,7 @@ public class SnapshotsService extends AbstractLifecycleComponent implements Clus
|
|
|
logger.trace("[{}][{}] creating snapshot for indices [{}]", repositoryName, snapshotName, indices);
|
|
|
|
|
|
final List<IndexId> indexIds = repositoryData.resolveNewIndices(indices);
|
|
|
- final Version version = minCompatibleVersion(
|
|
|
- clusterService.state().nodes().getMinNodeVersion(), repositoryData, null);
|
|
|
+ final Version version = minCompatibleVersion(currentState.nodes().getMinNodeVersion(), repositoryData, null);
|
|
|
ImmutableOpenMap<ShardId, ShardSnapshotStatus> shards =
|
|
|
shards(currentState, indexIds, useShardGenerations(version), repositoryData);
|
|
|
if (request.partial() == false) {
|