Skip to content

Commit 088e9eb

Browse files
DEALLOCATING is an irreversible server state (neo4j#2500)
Co-authored-by: Reneta Popova <[email protected]>
1 parent 9785d7b commit 088e9eb

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

modules/ROOT/pages/clustering/databases.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ By default, a newly created database has both read and write access.
145145
[[deallocate-databases]]
146146
== Deallocate databases
147147

148-
To relieve the load of a specific server(s), you can use one of the following procedures to deallocate databases causing the pressure from the server(s):
148+
To relieve the load of a specific server(s), you can use one of the following procedures to deallocate databases, causing the databases to be removed from the server(s) under pressure:
149149

150150
* xref:procedures.adoc#procedure_dbms_cluster_deallocateDatabaseFromServer[`dbms.cluster.deallocateDatabaseFromServer("server-name", "database-name")`]
151151
* xref:procedures.adoc#procedure_dbms_cluster_deallocateDatabaseFromServers[`dbms.cluster.deallocateDatabaseFromServers(["server-name1", "server-name2"\], "database-name")`]

modules/ROOT/pages/clustering/servers.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,16 @@ Once enabled, the server may be allocated databases to host.
8181
[[deallocating-state]]
8282
=== Deallocating state
8383

84-
When a server is no longer needed, it cannot be removed from the cluster while it is still allocated to host any databases.
84+
A server in a deallocating state means that it can no longer host databases.
85+
It may be that the server is no longer needed and you want to remove it from the cluster.
8586
The command `DEALLOCATE DATABASE[S] FROM SERVER[S] _server_[,...]` is used to transition servers to the _Deallocating_ state, reallocating all their hosted databases to other servers in the cluster.
86-
Additionally, servers which are deallocating will not have any further databases allocated to them.
87+
[NOTE]
88+
====
89+
This state is *irreversible*.
90+
Once a server is in a deallocating state, it subsequently cannot have databases allocated to it.
91+
92+
If you want to deallocate databases from a server in a *reversible manner*, see xref:clustering/databases.adoc#deallocate-databases[Deallocate databases] for more information.
93+
====
8794

8895
[role=label--new-5.15]
8996
=== Deallocated state

0 commit comments

Comments
 (0)