-
Notifications
You must be signed in to change notification settings - Fork 717
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
Add metadata for transform node role #3411
Conversation
Elasticsearch 7.7.0 introduces the transform node role. Add this new node type to the pod metadata when running a version of Elasticsearch that supports transform. Adjust test cases and default values.
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
I wonder if we should add |
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.
Only left a nit on an unsynced godoc.
Co-authored-by: Thibault Richard <thbkrkr@users.noreply.github.com>
…into add-transform-node-2
Relates to #3139. |
Second attempt at supporting the transform node role Elasticsearch 7.7.0 introduces.
The complication here is that we now have version specific default configurations. I chose to just toggle the
transform
value off in the default config to be able to keep using just one config struct. Technically thetransform
value does not even exist prior to 7.7.0. The default behaviour differs depending on whether the node is a data node or not. On nodes withnode.data: false
node.transform
is alsofalse
unless specified otherwise explicitly.