File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/cluster/routing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ public UnassignedInfo(StreamInput in) throws IOException {
271271 this .failure = in .readException ();
272272 this .failedAllocations = in .readVInt ();
273273 this .lastAllocationStatus = AllocationStatus .readFrom (in );
274- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
274+ if (in .getVersion ().onOrAfter (Version .V_7_5_0 )) {
275275 this .failedNodeIds = Collections .unmodifiableSet (in .readSet (StreamInput ::readString ));
276276 } else {
277277 this .failedNodeIds = Collections .emptySet ();
@@ -287,7 +287,7 @@ public void writeTo(StreamOutput out) throws IOException {
287287 out .writeException (failure );
288288 out .writeVInt (failedAllocations );
289289 lastAllocationStatus .writeTo (out );
290- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
290+ if (out .getVersion ().onOrAfter (Version .V_7_5_0 )) {
291291 out .writeCollection (failedNodeIds , StreamOutput ::writeString );
292292 }
293293 }
You can’t perform that action at this time.
0 commit comments