Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ public ClusterState execute(BatchExecutionContext<JoinTask> batchExecutionContex

// update the node's feature set if it has one
// this can happen if the master has just moved from a pre-features version to a post-features version
assert Version.V_8_12_0.onOrBefore(Version.CURRENT) : "This can be removed once 8.12.0 is no longer a valid version";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, this check never did anything other than return true? Is that why you're removing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was cleaning up since we've moved on from version 8_12_0

if (Objects.equals(nodeFeatures.get(node.getId()), nodeJoinTask.features()) == false) {
logger.debug("updating node [{}] features {}", node.getId(), nodeJoinTask.features());
nodeFeatures.put(node.getId(), nodeJoinTask.features());
Expand Down