Skip to content

Commit 789d1b9

Browse files
You should list system primaries in your endpoints (#2016)
Co-authored-by: NataliaIvakina <[email protected]>
1 parent fd87ea7 commit 789d1b9

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

modules/ROOT/pages/clustering/setup/discovery.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ The following sections describe the different methods for server discovery, conf
3434
Depending on the type of xref:configuration/configuration-settings.adoc#config_dbms.cluster.discovery.resolver_type[`dbms.cluster.discovery.resolver_type`] currently in use, the discovery service can use a list of server addresses, DNS records, or Kubernetes services to discover other servers in the cluster.
3535
The discovery configuration is used for initial discovery and to continuously exchange information about changes to the topology of the cluster.
3636

37+
[NOTE]
38+
====
39+
Regardless of the method used to resolve the list of server addresses, ensure that the endpoint for each server hosting the `system` database in primary mode is included.
40+
====
41+
3742
[[clustering-discovery-list]]
3843
=== Discovery using a list of server addresses
3944

modules/ROOT/pages/configuration/configuration-settings.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ m|+++10m+++
365365
|===
366366
|Description
367367
a|A comma-separated list of endpoints that a server should contact in order to discover other cluster members.
368-
Typically, all cluster members, including the current server, must be specified in this list.
369368
The setting configures the endpoints for Discovery service V1.
370369
|Valid values
371370
a|A comma-separated list where each element is a socket address in the format of `hostname:port`, `hostname`, or `:port`.
@@ -382,14 +381,19 @@ m|
382381
|===
383382
|Description
384383
a|A comma-separated list of endpoints that a server should contact in order to discover other cluster members.
385-
Typically, all cluster members, including the current server, must be specified in this list.
386384
The setting configures the endpoints for Discovery service V2.
387385
|Valid values
388386
a|A comma-separated list where each element is a socket address in the format of `hostname:port`, `hostname`, or `:port`.
389387
|Default value
390388
m|
391389
|===
392390

391+
[NOTE]
392+
====
393+
`dbms.cluster.discovery.endpoints` and `dbms.cluster.discovery.v2.endpoints` must contain all cluster members hosting a `system` database in primary mode.
394+
However, it is typical that all cluster members, including the current server, are specified in those lists.
395+
====
396+
393397
[role=label--enterprise-edition label--new-5.22 label--deprecated-5.26]
394398
[[config_dbms.cluster.discovery.version]]
395399
=== `dbms.cluster.discovery.version`

0 commit comments

Comments
 (0)