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

Use node name to specify initial master nodes #34

Conversation

danielmitterdorfer
Copy link
Member

With this commit we use the Elasticsearch node name instead of its IP to
configure cluster.initial_master_nodes. This avoids any ambiguity in
case multiple nodes are configured per host. For backwards-compatibility
we fallback to previous behavior if the template variable
all_node_names is undefined.

Relates elastic/rally#804

With this commit we use the Elasticsearch node name instead of its IP to
configure `cluster.initial_master_nodes`. This avoids any ambiguity in
case multiple nodes are configured per host. For backwards-compatibility
we fallback to previous behavior if the template variable
`all_node_names` is undefined.

Relates elastic/rally#804
Copy link
Contributor

@ebadyano ebadyano left a comment

Choose a reason for hiding this comment

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

LGTM!

@danielmitterdorfer
Copy link
Member Author

Thanks for your review! :)

@danielmitterdorfer danielmitterdorfer merged commit c9fa86a into elastic:master Oct 28, 2019
@danielmitterdorfer danielmitterdorfer deleted the use-node-name-for-initial-master-nodes branch October 28, 2019 14:17
danielmitterdorfer added a commit that referenced this pull request Oct 28, 2019
With this commit we use the Elasticsearch node name instead of its IP to
configure `cluster.initial_master_nodes`. This avoids any ambiguity in
case multiple nodes are configured per host. For backwards-compatibility
we fallback to previous behavior if the template variable
`all_node_names` is undefined.

Relates elastic/rally#804
Relates #34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants