Skip to content
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

Merged
merged 16 commits into from
Mar 2, 2020

Conversation

hendrikmuhs
Copy link

@hendrikmuhs hendrikmuhs commented Feb 24, 2020

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

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

@hendrikmuhs hendrikmuhs force-pushed the transform-node-attributes branch from 66081db to 71b427d Compare February 25, 2020 09:28
@hendrikmuhs hendrikmuhs marked this pull request as ready for review February 25, 2020 09:31
@hendrikmuhs hendrikmuhs removed the WIP label Feb 25, 2020
@hendrikmuhs hendrikmuhs changed the title [Transform] implement transform.enabled [Transform] implement node.transform to control where to run a transform Feb 25, 2020
@hendrikmuhs
Copy link
Author

run elasticsearch-ci/2
run elasticsearch-ci/docs

Copy link
Contributor

@droberts195 droberts195 left a 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.

Copy link
Contributor

@szabosteve szabosteve left a 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

@hendrikmuhs
Copy link
Author

run elasticsearch-ci/bwc

@hendrikmuhs hendrikmuhs force-pushed the transform-node-attributes branch from 25d66bc to 1a80758 Compare February 28, 2020 15:41
@hendrikmuhs
Copy link
Author

run elasticsearch-ci/bwc

@hendrikmuhs hendrikmuhs merged commit 563d906 into elastic:master Mar 2, 2020
@hendrikmuhs hendrikmuhs deleted the transform-node-attributes branch March 2, 2020 08:01
hendrikmuhs pushed a commit that referenced this pull request Mar 2, 2020
fix test logic in transform tests, regression introduced in #52712
hendrikmuhs pushed a commit that referenced this pull request Mar 2, 2020
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

backport #52712
hendrikmuhs pushed a commit that referenced this pull request Mar 17, 2020
Enhancement of #52712: Add a discovery node role using the letter t for transform.

Fixes #53156
hendrikmuhs pushed a commit that referenced this pull request Mar 17, 2020
Enhancement of #52712: Add a discovery node role using the letter t for transform.

Fixes #53156
hendrikmuhs pushed a commit that referenced this pull request Mar 11, 2021
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.
hendrikmuhs pushed a commit that referenced this pull request Mar 11, 2021
…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
probakowski pushed a commit to probakowski/elasticsearch that referenced this pull request Mar 15, 2021
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants