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

[DOCS] Adds discovery.type #42823

Merged
merged 4 commits into from
Jun 5, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions docs/reference/modules/discovery/discovery-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

Discovery and cluster formation are affected by the following settings:

`cluster.initial_master_nodes`::
Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer to keep this setting below discovery.seed_hosts because discovery happens before cluster bootstrapping.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I find it harder to scan a list like this when there's no obvious sorting, but since I know there are larger discussions around reorganizing settings reference pages it's likely not a big deal.


Sets a list of the <<node.name,node names>> or transport addresses of the
lcawl marked this conversation as resolved.
Show resolved Hide resolved
initial set of master-eligible nodes in a brand-new cluster. By default
this list is empty, meaning that this node expects to join a cluster that
has already been bootstrapped. See <<initial_master_nodes>>.

`discovery.seed_hosts`::

Provides a list of master-eligible nodes in the cluster. Each value has the
Expand All @@ -16,13 +23,13 @@ Discovery and cluster formation are affected by the following settings:
to use to obtain the addresses of the seed nodes used to start the
discovery process. By default, it is the
<<settings-based-hosts-provider,settings-based seed hosts provider>>.

`discovery.type`::

`cluster.initial_master_nodes`::

Sets a list of the <<node.name,node names>> or transport addresses of the
initial set of master-eligible nodes in a brand-new cluster. By default
this list is empty, meaning that this node expects to join a cluster that
has already been bootstrapped. See <<initial_master_nodes>>.
Specifies whether to use the default discovery and cluster formation (`zen`).
If set to `single-node`, the node elects itself master and does not join a
cluster with any other node. For more information about when you might use
this setting, see <<single-node-discovery>>.

lcawl marked this conversation as resolved.
Show resolved Hide resolved
[float]
==== Expert settings
Expand Down