File tree Expand file tree Collapse file tree
server/src/main/java/org/opensearch/cluster Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ private Entry(StreamInput in) throws IOException {
412412 } else {
413413 remoteStoreIndexShallowCopy = false ;
414414 }
415- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
415+ if (in .getVersion ().onOrAfter (Version .V_2_18_0 )) {
416416 remoteStoreIndexShallowCopyV2 = in .readBoolean ();
417417 } else {
418418 remoteStoreIndexShallowCopyV2 = false ;
@@ -886,7 +886,7 @@ public void writeTo(StreamOutput out) throws IOException {
886886 if (out .getVersion ().onOrAfter (Version .V_2_9_0 )) {
887887 out .writeBoolean (remoteStoreIndexShallowCopy );
888888 }
889- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
889+ if (out .getVersion ().onOrAfter (Version .V_2_18_0 )) {
890890 out .writeBoolean (remoteStoreIndexShallowCopyV2 );
891891 }
892892 }
You can’t perform that action at this time.
0 commit comments