-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[7.5][Transform] prevent assignment if any node is older than 7.4 #48055
[7.5][Transform] prevent assignment if any node is older than 7.4 #48055
Conversation
Pinging @elastic/ml-core (:ml/Transform) |
node.isDataNode() && node.getVersion().onOrAfter(params.getVersion()) | ||
node.isDataNode() && | ||
// see gh#48019 disable assignment if any node is using 7.2 or 7.3 | ||
clusterState.getNodes().getMinNodeVersion().onOrAfter(Version.V_7_4_0) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this condition should be outside of the selectLeastLoadedNode
function.
It is also good to return a new custom assignment explaining why we are not assigning to a node (e.g. Not assigning persistent task as cluster contains nodes with version older than 7.4.0
).
disable task assignment of transforms if any node uses version 7.2 or 7.3 (mixed cluster). fixes elastic#48019
disable task assignment of transforms if any node uses version 7.2 or 7.2 (mixed cluster).
fixes #48019
Note: not needed for master as the upgrade path is 7.last -> master