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 @@ -355,7 +355,7 @@ public ClusterMetadataManifest(StreamInput in) throws IOException {
355
355
this .indices = Collections .unmodifiableList (in .readList (UploadedIndexMetadata ::new ));
356
356
this .previousClusterUUID = in .readString ();
357
357
this .clusterUUIDCommitted = in .readBoolean ();
358
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
358
+ if (in .getVersion ().onOrAfter (Version .V_2_15_0 )) {
359
359
this .codecVersion = in .readInt ();
360
360
this .uploadedCoordinationMetadata = new UploadedMetadataAttribute (in );
361
361
this .uploadedSettingsMetadata = new UploadedMetadataAttribute (in );
@@ -448,7 +448,7 @@ public void writeTo(StreamOutput out) throws IOException {
448
448
out .writeCollection (indices );
449
449
out .writeString (previousClusterUUID );
450
450
out .writeBoolean (clusterUUIDCommitted );
451
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
451
+ if (out .getVersion ().onOrAfter (Version .V_2_15_0 )) {
452
452
out .writeInt (codecVersion );
453
453
uploadedCoordinationMetadata .writeTo (out );
454
454
uploadedSettingsMetadata .writeTo (out );
You can’t perform that action at this time.
0 commit comments