Skip to content

Commit f4967bd

Browse files
committed
Add migration docs for 8.0
1 parent cda20f5 commit f4967bd

File tree

3 files changed

+35
-23
lines changed

3 files changed

+35
-23
lines changed

docs/reference/migration/migrate_8_0.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ See also <<release-highlights>> and <<es-release-notes>>.
1212
coming[8.0.0]
1313

1414
* <<breaking_80_analysis_changes>>
15+
* <<breaking_80_discovery_changes>>
1516
* <<breaking_80_mappings_changes>>
1617

1718
[float]
@@ -31,4 +32,5 @@ Elasticsearch 7.x in order to be readable by Elasticsearch 8.x.
3132
=========================================
3233

3334
include::migrate_8_0/analysis.asciidoc[]
35+
include::migrate_8_0/discovery.asciidoc[]
3436
include::migrate_8_0/mappings.asciidoc[]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[float]
2+
[[breaking_80_discovery_changes]]
3+
=== Discovery changes
4+
5+
[float]
6+
==== Removal of old discovery settings
7+
8+
All settings under the `discovery.zen` namespace, which existed only for BWC reasons in 7.x,
9+
will no longer be supported. In particular, this includes:
10+
11+
- `discovery.zen.no_master_block`
12+
- `discovery.zen.hosts_provider`
13+
- `discovery.zen.ping.unicast.concurrent_connects`
14+
- `discovery.zen.ping.unicast.hosts.resolve_timeout`
15+
- `discovery.zen.ping.unicast.hosts`
16+
- `discovery.zen.unsafe_rolling_upgrades_enabled`
17+
- `discovery.zen.commit_timeout`
18+
- `discovery.zen.fd.connect_on_network_disconnect`
19+
- `discovery.zen.fd.ping_interval`
20+
- `discovery.zen.fd.ping_timeout`
21+
- `discovery.zen.fd.ping_retries`
22+
- `discovery.zen.fd.register_connection_listener`
23+
- `discovery.zen.join_retry_attempts`
24+
- `discovery.zen.join_retry_delay`
25+
- `discovery.zen.max_pings_from_another_master`
26+
- `discovery.zen.send_leave_request`
27+
- `discovery.zen.master_election.wait_for_joins_timeout`
28+
- `discovery.zen.master_election.ignore_non_master_pings`
29+
- `discovery.zen.publish.max_pending_cluster_states`

docs/reference/modules/discovery/discovery-settings.asciidoc

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,14 @@ Discovery and cluster formation are affected by the following settings:
88
Provides a list of master-eligible nodes in the cluster. Each value has the
99
format `host:port` or `host`, where `port` defaults to the setting
1010
`transport.profiles.default.port`. Note that IPv6 hosts must be bracketed.
11-
The default value is `["127.0.0.1", "[::1]"]`. See <<unicast.hosts>>. This
12-
setting was previously known as `discovery.zen.ping.unicast.hosts`. Its old
13-
name is deprecated but continues to work in order to preserve backwards
14-
compatibility. Support for the old name will be removed in a future
15-
version.
11+
The default value is `["127.0.0.1", "[::1]"]`. See <<unicast.hosts>>.
1612

1713
`discovery.seed_providers`::
1814

1915
Specifies which types of <<built-in-hosts-providers,seed hosts provider>>
2016
to use to obtain the addresses of the seed nodes used to start the
2117
discovery process. By default, it is the
22-
<<settings-based-hosts-provider,settings-based seed hosts provider>>. This
23-
setting was previously known as `discovery.zen.hosts_provider`. Its old
24-
name is deprecated but continues to work in order to preserve backwards
25-
compatibility. Support for the old name will be removed in a future
26-
version.
18+
<<settings-based-hosts-provider,settings-based seed hosts provider>>.
2719

2820
`discovery.cluster_formation_warning_timeout`::
2921

@@ -55,20 +47,12 @@ Discovery and cluster formation are affected by the following settings:
5547
`discovery.seed_resolver.max_concurrent_resolvers`::
5648

5749
Specifies how many concurrent DNS lookups to perform when resolving the
58-
addresses of seed nodes. Defaults to `10`. This setting was previously
59-
known as `discovery.zen.ping.unicast.concurrent_connects`. Its old name is
60-
deprecated but continues to work in order to preserve backwards
61-
compatibility. Support for the old name will be removed in a future
62-
version.
50+
addresses of seed nodes. Defaults to `10`.
6351

6452
`discovery.seed_resolver.timeout`::
6553

6654
Specifies how long to wait for each DNS lookup performed when resolving the
67-
addresses of seed nodes. Defaults to `5s`. This setting was previously
68-
known as `discovery.zen.ping.unicast.hosts.resolve_timeout`. Its old name
69-
is deprecated but continues to work in order to preserve backwards
70-
compatibility. Support for the old name will be removed in a future
71-
version.
55+
addresses of seed nodes. Defaults to `5s`.
7256

7357
`cluster.auto_shrink_voting_configuration`::
7458

@@ -192,7 +176,4 @@ APIs are not be blocked and can run on any available node.
192176
* For the cluster to be fully operational, it must have an active master.
193177
===============================
194178

195-
WARNING: This setting replaces the `discovery.zen.no_master_block` setting in
196-
earlier versions. The `discovery.zen.no_master_block` setting is ignored.
197-
198179
--

0 commit comments

Comments
 (0)