Skip to content

Commit f6e6950

Browse files
NataliaIvakinajackwaudbyrenetapopova
authored
5.17 cherry picks (#129)
Co-authored-by: Jack Waudby <[email protected]> Co-authored-by: Reneta Popova <[email protected]>
1 parent 6924ebd commit f6e6950

File tree

3 files changed

+47
-4
lines changed

3 files changed

+47
-4
lines changed

antora.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ nav:
77
asciidoc:
88
attributes:
99
page-origin-private: false
10-
neo4j-version: '5.16'
11-
neo4j-version-exact: '5.16.0'
12-
neo4j-buildnumber: '5.16'
10+
neo4j-version: '5.17'
11+
neo4j-version-exact: '5.17.0'
12+
neo4j-buildnumber: '5.17'

modules/ROOT/pages/changelogs.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
:description: This page lists all changes to status codes per Neo4j version.
22
= Changes to status codes per Neo4j version
33

4+
== Neo4j 5.17
5+
6+
**New:**
7+
8+
[source, status codes, role="noheader"]
9+
-----
10+
Neo.ClientNotification.Cluster.RequestedTopologyMatchedCurrentTopology
11+
-----
12+
413
== Neo4j 5.15
514

615
**New:**

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,9 +1305,43 @@ Example scenarios::
13051305
For example, when there are three servers, each hosting databases `foo` and `bar`, meaning all databases are allocated to all servers.
13061306
+
13071307
1308-
**Scenario 2:** The cluster appears unbalanced, but server constraints prevent you from moving to a better, more balanced, allocation. For example, assuming server 1 hosts databases `foo` and `bar`, server 2 hosts only `foo`, and server 3 hosts no databases. Then, a better allocation would move `foo` from server 1 to server 3, but if server 3 has the constraint `deniedDatabases:['foo']}`, then the cluster is already balanced subject to this constraint.
1308+
**Scenario 2:** The cluster appears unbalanced, but server constraints prevent you from moving to a better, more balanced, allocation.
1309+
For example, assuming server 1 hosts databases `foo` and `bar`, server 2 hosts only `foo`, and server 3 hosts no databases.
1310+
Then, a better allocation would move `foo` from server 1 to server 3, but if server 3 has the constraint `deniedDatabases:['foo']}`, then the cluster is already balanced subject to this constraint.
13091311
====
13101312

1313+
[#_neo_clientnotification_cluster_requestedtopologymatchedcurrenttopology]
1314+
=== RequestedTopologyMatchedCurrentTopology
1315+
1316+
.Notification details
1317+
[cols="<1s,<4"]
1318+
|===
1319+
|Code
1320+
m|Neo.ClientNotification.Cluster.RequestedTopologyMatchedCurrentTopology
1321+
|Title
1322+
a| `<command>` has no effect.
1323+
|Severity
1324+
m|INFORMATION
1325+
|Category
1326+
m|TOPOLOGY
1327+
|===
1328+
1329+
.Requested topology matched current topology
1330+
====
1331+
The example assumes that you have a cluster with three servers and a database `foo` with a topology of two primaries and one secondary.
1332+
1333+
Command::
1334+
+
1335+
[source, cypher]
1336+
----
1337+
ALTER DATABASE foo SET TOPOLOGY 2 PRIMARIES 1 SECONDARY
1338+
----
1339+
1340+
Description of the returned code::
1341+
The requested topology matched the current topology. No allocations were changed.
1342+
====
1343+
1344+
13111345
[#_neo_clientnotification_cluster_serveralreadyenabled]
13121346
=== ServerAlreadyEnabled
13131347

0 commit comments

Comments
 (0)