File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/cluster Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ private Entry(StreamInput in) throws IOException {
441
441
} else {
442
442
remoteStoreIndexShallowCopy = false ;
443
443
}
444
- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
444
+ if (in .getVersion ().onOrAfter (Version .V_2_18_0 )) {
445
445
remoteStoreIndexShallowCopyV2 = in .readBoolean ();
446
446
} else {
447
447
remoteStoreIndexShallowCopyV2 = false ;
@@ -925,7 +925,7 @@ public void writeTo(StreamOutput out) throws IOException {
925
925
if (out .getVersion ().onOrAfter (Version .V_2_9_0 )) {
926
926
out .writeBoolean (remoteStoreIndexShallowCopy );
927
927
}
928
- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
928
+ if (out .getVersion ().onOrAfter (Version .V_2_18_0 )) {
929
929
out .writeBoolean (remoteStoreIndexShallowCopyV2 );
930
930
}
931
931
}
You can’t perform that action at this time.
0 commit comments