Skip to content

Commit 89fc4b7

Browse files
Remove deprecated 'group' settings - everything is 'tag' now
The settings will still be migrated to the new ones if used, for now. But we should remove them from the docs.
1 parent 091f5f3 commit 89fc4b7

File tree

4 files changed

+4
-67
lines changed

4 files changed

+4
-67
lines changed

modules/ROOT/pages/clustering/clustering-advanced/multi-data-center-routing.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,10 @@ These provide coarse-grained algorithms for selecting an upstream server:
297297
|===
298298
| Plugin name | Resulting behavior
299299
| `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`.
302302
| `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.
307304
|===
308305

309306
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.

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

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -246,22 +246,6 @@ m|+++2.00GiB+++
246246
|===
247247

248248

249-
[role="label--enterprise-edition label--deprecated-5.4"]
250-
[[config_db.cluster.raft.leader_transfer.priority_group]]
251-
=== `db.cluster.raft.leader_transfer.priority_group`
252-
253-
.db.cluster.raft.leader_transfer.priority_group
254-
[frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"]
255-
|===
256-
|Description
257-
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.
258-
|Valid values
259-
a|A string identifying a server tag.
260-
|Default value
261-
m|++++++
262-
|===
263-
264-
265249
[role=label--enterprise-edition]
266250
[[config_db.cluster.raft.leader_transfer.priority_tag]]
267251
=== `db.cluster.raft.leader_transfer.priority_tag`
@@ -630,7 +614,7 @@ m|+++20s-23s+++
630614
[frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"]
631615
|===
632616
|Description
633-
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.
634618
The following values are available:
635619

636620
* `equal_balancing` automatically ensures that each primary server holds the leader role for an equal number of databases.
@@ -882,22 +866,6 @@ m|+++:6000+++
882866
|===
883867

884868

885-
[role=label--enterprise-edition label--dynamic label--deprecated-5.4]
886-
[[config_server.cluster.catchup.connect_randomly_to_server_group]]
887-
=== `server.cluster.catchup.connect_randomly_to_server_group`
888-
889-
.server.cluster.catchup.connect_randomly_to_server_group
890-
[frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"]
891-
|===
892-
|Description
893-
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.
896-
|Default value
897-
m|++++++
898-
|===
899-
900-
901869
[role=label--enterprise-edition label--dynamic]
902870
[[config_server.cluster.catchup.connect_randomly_to_server_tags]]
903871
=== `server.cluster.catchup.connect_randomly_to_server_tags`
@@ -1041,24 +1009,6 @@ a|A socket address in the format of `hostname:port`, `hostname`, or `:port`. If
10411009
m|+++:5000+++
10421010
|===
10431011

1044-
1045-
[role=label--enterprise-edition label--deprecated-5.4]
1046-
[[config_server.groups]]
1047-
=== `server.groups`
1048-
1049-
.server.groups
1050-
[frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"]
1051-
|===
1052-
|Description
1053-
a|A list of tag names for the server used when configuring load balancing and replication policies.
1054-
|Valid values
1055-
a|A comma-separated list where each element is a string identifying a server tag.
1056-
|Default value
1057-
m|++++++
1058-
|Replaced by
1059-
m|initial.server.tags
1060-
|===
1061-
10621012
== Connection settings
10631013

10641014
Connection settings control the communication between servers and between a server and a client.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ RETURN name
7777
| "dbms.security.ldap.authorization.nested_groups_search_filter" |
7878
| "dbms.security.ldap.authorization.user_search_base" |
7979
| "dbms.security.ldap.authorization.user_search_filter" |
80-
| "server.cluster.catchup.connect_randomly_to_server_group" |
8180
| "server.cluster.catchup.connect_randomly_to_server_tags" |
8281
| "server.databases.default_to_read_only" |
8382
| "server.databases.read_only" |

modules/ROOT/pages/docker/ref-settings.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ For more information on the configuration descriptions, valid values, and defaul
7070
| `db.cluster.raft.in_queue.max_bytes`
7171
| `+NEO4J_db_cluster_raft_in__queue_max__bytes+`
7272

73-
| `db.cluster.raft.leader_transfer.priority_group`
74-
| `+NEO4J_db_cluster_raft_leader__transfer_priority__group+`
75-
7673
| `db.cluster.raft.log.prune_strategy`
7774
| `+NEO4J_db_cluster_raft_log_prune__strategy+`
7875

@@ -640,9 +637,6 @@ For more information on the configuration descriptions, valid values, and defaul
640637
| `server.cluster.advertised_address`
641638
| `+NEO4J_server_cluster_advertised__address+`
642639

643-
| `server.cluster.catchup.connect_randomly_to_server_group`
644-
| `+NEO4J_server_cluster_catchup_connect__randomly__to__server__group+`
645-
646640
| `server.cluster.catchup.upstream_strategy`
647641
| `+NEO4J_server_cluster_catchup_upstream__strategy+`
648642

@@ -733,9 +727,6 @@ For more information on the configuration descriptions, valid values, and defaul
733727
| `server.dynamic.setting.allowlist`
734728
| `+NEO4J_server_dynamic_setting_allowlist+`
735729

736-
| `server.groups`
737-
| `+NEO4J_server_groups+`
738-
739730
| `server.http.advertised_address`
740731
| `+NEO4J_server_http_advertised__address+`
741732

0 commit comments

Comments
 (0)