File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/gateway/remote Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ public ClusterMetadataManifest(StreamInput in) throws IOException {
516516 this .indices = Collections .unmodifiableList (in .readList (UploadedIndexMetadata ::new ));
517517 this .previousClusterUUID = in .readString ();
518518 this .clusterUUIDCommitted = in .readBoolean ();
519- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
519+ if (in .getVersion ().onOrAfter (Version .V_2_15_0 )) {
520520 this .codecVersion = in .readInt ();
521521 this .uploadedCoordinationMetadata = new UploadedMetadataAttribute (in );
522522 this .uploadedSettingsMetadata = new UploadedMetadataAttribute (in );
@@ -690,7 +690,7 @@ public void writeTo(StreamOutput out) throws IOException {
690690 out .writeCollection (indices );
691691 out .writeString (previousClusterUUID );
692692 out .writeBoolean (clusterUUIDCommitted );
693- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
693+ if (out .getVersion ().onOrAfter (Version .V_2_15_0 )) {
694694 out .writeInt (codecVersion );
695695 uploadedCoordinationMetadata .writeTo (out );
696696 uploadedSettingsMetadata .writeTo (out );
You can’t perform that action at this time.
0 commit comments