Skip to content

Commit 64faa0f

Browse files
renetapopovajackwaudbyLojjs
authored
Cherry-picks all 5.14 features (#96)
Cherry-picked from #89 and #75 --------- Co-authored-by: Jack Waudby <[email protected]> Co-authored-by: Louise Söderström <[email protected]>
1 parent 310e0e9 commit 64faa0f

File tree

3 files changed

+49
-3
lines changed

3 files changed

+49
-3
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.13'
11-
neo4j-version-exact: '5.13.0'
12-
neo4j-buildnumber: '5.13'
10+
neo4j-version: '5.14'
11+
neo4j-version-exact: '5.14.0'
12+
neo4j-buildnumber: '5.14'

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.14
5+
6+
**New:**
7+
8+
[source, status codes, role="noheader"]
9+
-----
10+
Neo.ClientNotification.Cluster.NoDatabasesReallocated
11+
-----
12+
413
== Neo4j 5.13
514

615
**New:**

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,43 @@ Use `DATABASE *` without the parameter to revoke the privilege on all databases.
12331233

12341234
Topology notifications provide additional information related to managing databases and servers.
12351235

1236+
[#_neo_clientnotification_cluster_nodatabasesreallocated]
1237+
=== NoDatabasesReallocated
1238+
1239+
.Notification details
1240+
[cols="<1s,<4"]
1241+
|===
1242+
|Code
1243+
m|Neo.ClientNotification.Cluster.NoDatabasesReallocated
1244+
|Title
1245+
a| `<command>` has no effect.
1246+
|Severity
1247+
m|INFORMATION
1248+
|Category
1249+
m|TOPOLOGY
1250+
|===
1251+
1252+
.Reallocating databases resulted in no allocation changes
1253+
====
1254+
Command::
1255+
+
1256+
[source, cypher]
1257+
----
1258+
REALLOCATE DATABASES
1259+
----
1260+
1261+
Description of the returned code::
1262+
No databases were reallocated. No better allocation is currently possible.
1263+
1264+
1265+
Example scenarios::
1266+
**Scenario 1:** The cluster is already balanced.
1267+
For example, when there are three servers, each hosting databases `foo` and `bar`, meaning all databases are allocated to all servers.
1268+
+
1269+
1270+
**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.
1271+
====
1272+
12361273
[#_neo_clientnotification_cluster_serveralreadyenabled]
12371274
=== ServerAlreadyEnabled
12381275

0 commit comments

Comments
 (0)