Skip to content

Commit efce7ef

Browse files
DEALLOCATING is an irreversible server state (#2500)
Co-authored-by: Reneta Popova <[email protected]>
1 parent 57f4909 commit efce7ef

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

modules/ROOT/pages/clustering/databases.adoc

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

141-
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):
141+
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:
142142

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

modules/ROOT/pages/clustering/servers.adoc

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

85-
When a server is no longer needed, it cannot be removed from the cluster while it is still allocated to host any databases.
85+
A server in a deallocating state means that it can no longer host databases.
86+
It may be that the server is no longer needed and you want to remove it from the cluster.
8687
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.
87-
Additionally, servers which are deallocating will not have any further databases allocated to them.
88+
[NOTE]
89+
====
90+
This state is *irreversible*.
91+
Once a server is in a deallocating state, it subsequently cannot have databases allocated to it.
8892
93+
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.
94+
====
8995

9096
=== Deallocated state
9197

0 commit comments

Comments
 (0)