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
2 people authored and dk2k committed Oct 16, 2024
1 parent 221b682 commit 194322c
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 194322c

Please sign in to comment.