Skip to content

Commit 071e236

Browse files
committed
Adjust bwc for #48265
Relates #48265
1 parent a0e3e94 commit 071e236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/UnassignedInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)