File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/snapshots
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ public SnapshotInfo(final StreamInput in) throws IOException {
485
485
if (in .getVersion ().onOrAfter (Version .V_2_9_0 )) {
486
486
remoteStoreIndexShallowCopy = in .readOptionalBoolean ();
487
487
}
488
- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
488
+ if (in .getVersion ().onOrAfter (Version .V_2_17_0 )) {
489
489
pinnedTimestamp = in .readVLong ();
490
490
}
491
491
}
@@ -960,7 +960,7 @@ public void writeTo(final StreamOutput out) throws IOException {
960
960
if (out .getVersion ().onOrAfter (Version .V_2_9_0 )) {
961
961
out .writeOptionalBoolean (remoteStoreIndexShallowCopy );
962
962
}
963
- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
963
+ if (out .getVersion ().onOrAfter (Version .V_2_17_0 )) {
964
964
out .writeVLong (pinnedTimestamp );
965
965
}
966
966
}
You can’t perform that action at this time.
0 commit comments