File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/cluster
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ private Entry(StreamInput in) throws IOException {
412
412
} else {
413
413
remoteStoreIndexShallowCopy = false ;
414
414
}
415
- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
415
+ if (in .getVersion ().onOrAfter (Version .V_2_18_0 )) {
416
416
remoteStoreIndexShallowCopyV2 = in .readBoolean ();
417
417
} else {
418
418
remoteStoreIndexShallowCopyV2 = false ;
@@ -886,7 +886,7 @@ public void writeTo(StreamOutput out) throws IOException {
886
886
if (out .getVersion ().onOrAfter (Version .V_2_9_0 )) {
887
887
out .writeBoolean (remoteStoreIndexShallowCopy );
888
888
}
889
- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
889
+ if (out .getVersion ().onOrAfter (Version .V_2_18_0 )) {
890
890
out .writeBoolean (remoteStoreIndexShallowCopyV2 );
891
891
}
892
892
}
You can’t perform that action at this time.
0 commit comments