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 <[email protected]>
Co-authored-by: Anshu Agarwal <[email protected]>
  • Loading branch information
anshu1106 and Anshu Agarwal authored Sep 5, 2024
1 parent 375c0bf commit 73e14ab
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 73e14ab

Please sign in to comment.