-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[Transform] implement node.transform to control where to run a transform #52712
[Transform] implement node.transform to control where to run a transform #52712
Conversation
Pinging @elastic/ml-core (:ml/Transform) |
66081db
to
71b427d
Compare
x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/Transform.java
Outdated
Show resolved
Hide resolved
x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/Transform.java
Show resolved
Hide resolved
...main/java/org/elasticsearch/xpack/transform/transforms/TransformPersistentTasksExecutor.java
Show resolved
Hide resolved
x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/Transform.java
Outdated
Show resolved
Hide resolved
run elasticsearch-ci/2 |
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.
LGTM if you could just change the 3 things I saw.
Also @lcawl would you like to check the setting descriptions for consistency with other ES docs? What's said is factually accurate (except for the tiny typo I noted), but maybe there are things you'd like changed related to consistency.
x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/Transform.java
Show resolved
Hide resolved
...main/java/org/elasticsearch/xpack/transform/transforms/TransformPersistentTasksExecutor.java
Outdated
Show resolved
Hide resolved
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.
The docs changes LGTM. I opened a PR for the redirects, will merge after this PR.
Redirect PR: #52944
run elasticsearch-ci/bwc |
…odes and test which nodes are allowed to do remote connections
Co-Authored-By: David Roberts <[email protected]>
This reverts commit 870e716671680714a00728ef47c838747b27540d.
25d66bc
to
1a80758
Compare
run elasticsearch-ci/bwc |
fix test logic in transform tests, regression introduced in #52712
The node attribute transform.node has been introduced in #52712 (7.7) to implement dedicated transform nodes. A technical limitation in the stack made it necessary to use this workaround. This limitation has been removed by #54998 (7.9). It is now possible to find out, if a node is a transform node without using the node attribute. This PR deprecates the node attribute and bases the placement decision on the node role. The attribute gets unused for placement, however we can not remove the node attribute yet, because in a mixed version cluster the attribute might still be used, especially when master gets updated last. The node attribute will be completely removed in 8, as the upgrade path requires to upgrade to 7.last before upgrading to 8.x.
…70291) The node attribute transform.node has been introduced in #52712 (7.7) to implement dedicated transform nodes. A technical limitation in the stack made it necessary to use this workaround. This limitation has been removed by #54998 (7.9). It is now possible to find out, if a node is a transform node without using the node attribute. This PR deprecates the node attribute and bases the placement decision on the node role. The attribute gets unused for placement, however we can not remove the node attribute yet, because in a mixed version cluster the attribute might still be used, especially when master gets updated last. The node attribute will be completely removed in 8, as the upgrade path requires to upgrade to 7.last before upgrading to 8.x. backport #70234
The node attribute transform.node has been introduced in elastic#52712 (7.7) to implement dedicated transform nodes. A technical limitation in the stack made it necessary to use this workaround. This limitation has been removed by elastic#54998 (7.9). It is now possible to find out, if a node is a transform node without using the node attribute. This PR deprecates the node attribute and bases the placement decision on the node role. The attribute gets unused for placement, however we can not remove the node attribute yet, because in a mixed version cluster the attribute might still be used, especially when master gets updated last. The node attribute will be completely removed in 8, as the upgrade path requires to upgrade to 7.last before upgrading to 8.x.
implement transform node attributes to disable transform on certain nodes and test which nodes are allowed to do remote connections
closes #52200
closes #50033
closes #48734
Docs preview: http://elasticsearch_52712.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/transform-settings.html