Skip to content

Commit

Permalink
version change to V_2.17.0 for node min version check (opensearch-pro…
Browse files Browse the repository at this point in the history
…ject#15644)

Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
Co-authored-by: Anshu Agarwal <anshukag@amazon.com>
  • Loading branch information
2 people authored and akolarkunnu committed Sep 10, 2024
1 parent 2a0e789 commit d60a349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public void executeSnapshot(final CreateSnapshotRequest request, final ActionLis
if (remoteStoreIndexShallowCopy
&& isSnapshotV2
&& request.indices().length == 0
&& clusterService.state().nodes().getMinNodeVersion().onOrAfter(Version.CURRENT)) {
&& clusterService.state().nodes().getMinNodeVersion().onOrAfter(Version.V_2_17_0)) {
createSnapshotV2(request, listener);
} else {
createSnapshot(
Expand Down

0 comments on commit d60a349

Please sign in to comment.