Skip to content

Commit be95996

Browse files
Removes Transport Version V_8_12_0 Assertion (#132929)
Removes an assertion inside NodeJoinExecutor that checks whether the transport version >= 8.12, since we are now actively supporting 9.x
1 parent baa97c7 commit be95996

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/coordination/NodeJoinExecutor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public ClusterState execute(BatchExecutionContext<JoinTask> batchExecutionContex
161161

162162
// update the node's feature set if it has one
163163
// this can happen if the master has just moved from a pre-features version to a post-features version
164-
assert Version.V_8_12_0.onOrBefore(Version.CURRENT) : "This can be removed once 8.12.0 is no longer a valid version";
165164
if (Objects.equals(nodeFeatures.get(node.getId()), nodeJoinTask.features()) == false) {
166165
logger.debug("updating node [{}] features {}", node.getId(), nodeJoinTask.features());
167166
nodeFeatures.put(node.getId(), nodeJoinTask.features());

0 commit comments

Comments
 (0)