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

Set discovery.seed_hosts: [] even when using file based seed hosts provider #5834

Closed
pebrc opened this issue Jun 27, 2022 · 0 comments · Fixed by #5950
Closed

Set discovery.seed_hosts: [] even when using file based seed hosts provider #5834

pebrc opened this issue Jun 27, 2022 · 0 comments · Fixed by #5950
Assignees
Labels
>enhancement Enhancement of existing functionality good first issue Good for newcomers

Comments

@pebrc
Copy link
Collaborator

pebrc commented Jun 27, 2022

It is recommended to set discovery.seed_hosts: [] in elasticsearch.yml (static setting) even in the presence of the discovery.seed_providers: file.

The setting has an effect even if the seed provider is file based and relies on unicast_hosts.txt as it is the case with ECK operator managed Elasticsearch clusters.

If left unset and something goes wrong with the master we will get a bunch of noise about being unable to discover nodes at the default address(es) i.e. trying and failing to connect to at least 127.0.0.1:${TRANSPORT_PORT} (paraphrasing @\DaveCTurner here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants