You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/clustering-advanced/multi-data-center-routing.adoc
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,13 +297,10 @@ These provide coarse-grained algorithms for selecting an upstream server:
297
297
|===
298
298
| Plugin name | Resulting behavior
299
299
| `connect-to-random-primary-server` | Connect to any *primary server* selecting at random from those currently available.
300
-
| `typically-connect-to-random-secondary` | Connect to any available *secondary server*, but around 10% of the time connect to any random primary server.
301
-
| `connect-randomly-to-server-tags` | Connect at random to any available *secondary server* tagged with any of the server tags specified in the comma-separated list `server.cluster.catchup.connect_randomly_to_server_tags`.
300
+
| `typically-connect-to-random-secondary` | Connect to any available *secondary server*, but around 10% of the time connect to any random primary server.
301
+
| `connect-randomly-to-server-tags` | Connect at random to any available *secondary server* tagged with any of the server tags specified in the comma-separated list `server.cluster.catchup.connect_randomly_to_server_tags`.
302
302
| `leader-only` | Connect only to the current Raft leader of the *primary servers*.
303
-
| [deprecated]#`connect-randomly-to-server-group`# | [deprecated]#Connect at random to any available *secondary server* in the server groups specified in the comma-separated list `server.cluster.catchup.connect_randomly_to_server_group`.
304
-
Deprecated, please use `connect-randomly-to-server-tags`.#
305
-
| [deprecated]#`connect-randomly-within-server-group`# | [deprecated]#Connect at random to any available *secondary server* in any of the server groups to which this server belongs.
306
-
Deprecated, please use `connect-randomly-to-server-tags`.#
303
+
| `connect-randomly-within-server-tags` | Connect at random to any available *secondary server* with any of the server tags which this server has.
307
304
|===
308
305
309
306
Pre-defined strategies are used by configuring the xref:configuration/configuration-settings.adoc#config_server.cluster.catchup.upstream_strategy[`server.cluster.catchup.upstream_strategy`] option.
a|The name of a server_group whose members should be prioritized as leaders. This does not guarantee that the leader will always be a member of this group, but the cluster will attempt to transfer the leadership to such a member when possible. If a database is specified using `db.cluster.raft.leader_transfer.priority_group.<database>`, the specified priority group will apply to that database only. If no database is specified, that group will be the default and apply to all databases with no explicitly set priority group. Using this setting will disable leadership balancing.
a|Which strategy to use when transferring database leaderships around a cluster. Note that if a `leadership_priority_group` is specified for a given database, the value of this setting will be ignored for that database.
617
+
a|Which strategy to use when transferring database leaderships around a cluster. Note that if a `leader_transfer.priority_tag` is specified for a given database, the value of this setting will be ignored for that database.
634
618
The following values are available:
635
619
636
620
* `equal_balancing` automatically ensures that each primary server holds the leader role for an equal number of databases.
a|Comma-separated list of groups to be used by the connect-randomly-to-server-group selection strategy. The connect-randomly-to-server-group strategy is used when the list of strategies (`<<config_server.cluster.catchup.upstream_strategy,server.cluster.catchup.upstream_strategy>>`) includes the value `connect-randomly-to-server-group`.
894
-
|Valid values
895
-
a|A comma-separated list where each element is a string identifying a server tag.
0 commit comments