Skip to content

Commit d5876bf

Browse files
committed
put back label--admin-only and dbms.cluster.deallocateDatabaseFromServers
1 parent 25ad9ea commit d5876bf

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

modules/ROOT/pages/procedures.adoc

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Since Neo4j 5.23, it can be run with the `SERVER MANAGEMENT` privilege.
334334
It will still run with the `Admin` privilege, but that should be considered deprecated.
335335
====
336336

337-
[role=label--enterprise-edition label--new-5.26 ]
337+
[role=label--enterprise-edition label--new-5.26 label--admin-only]
338338
[[procedure_dbms_cluster_movetonextdiscoveryversion]]
339339
=== dbms.cluster.moveToNextDiscoveryVersion()
340340

@@ -374,6 +374,31 @@ m|DBMS
374374
| *Required provileges* 3+| `SERVER MANAGEMENT`
375375
|===
376376

377+
[role=label--enterprise-edition label--new-5.23]
378+
[[procedure_dbms_cluster_deallocateDatabaseFromServers]]
379+
=== dbms.cluster.deallocateDatabaseFromServers()
380+
381+
382+
.Details
383+
|===
384+
| *Syntax* 3+m| dbms.cluster.deallocateDatabaseFromServers(servers, database [, dryrun ]) :: (database, fromServerName, fromServerId, toServerName, toServerId, mode)
385+
| *Description* 3+a| Deallocate a specific user database from a list of servers.
386+
.4+| *Input arguments* | *Name* | *Type* | *Description*
387+
| `servers` | `LIST<STRING>` | The ids of the servers to deallocate from.
388+
| `database` | `STRING` | The id of the database to deallocate.
389+
| `dryrun` | `BOOLEAN` | Set to `true` to dry run the procedure.
390+
.7+| *Return arguments* | *Name* | *Type* | *Description*
391+
| `database` | `STRING` | The name of the database.
392+
| `fromServerName` | `STRING` | The name of the server.
393+
| `fromServerId` | `STRING` | The id of the server.
394+
| `toServerName` | `STRING` | The name of the server.
395+
| `toServerId` | `STRING` | The id of the server.
396+
| `mode` | `STRING` | The mode in which the database is hosted.
397+
| *Mode* 3+| WRITE
398+
| *Required provileges* 3+| `SERVER MANAGEMENT`
399+
|===
400+
401+
377402
[role=label--enterprise-edition label--new-5.23]
378403
[[procedure_dbms_cluster_deallocateNumberOfDatabases]]
379404
=== dbms.cluster.deallocateNumberOfDatabases()
@@ -1538,9 +1563,9 @@ For more information, see the link:{neo4j-docs-base-uri}/cypher-manual/{page-ver
15381563
.Details
15391564
|===
15401565
| *Syntax* 3+m| dbms.queryJmx(query) :: (name, description, attributes)
1541-
| *Description* 3+a| Query JMX management data by domain and name. For instance, use `\*:*` to find all JMX beans.
1566+
| *Description* 3+a| Query JMX management data by domain and name. For instance, use *:* to find all JMX beans.
15421567
.2+| *Input arguments* | *Name* | *Type* | *Description*
1543-
| `query` | `STRING` | A query for MBeans on this MBeanServer (e.g. '\*:*,name=*neo4j*' for all metrics in neo4j database).
1568+
| `query` | `STRING` | A query for MBeans on this MBeanServer (e.g. '*:*,name=*neo4j*' for all metrics in neo4j database).
15441569
.4+| *Return arguments* | *Name* | *Type* | *Description*
15451570
| `name` | `STRING` | The name of the metric.
15461571
| `description` | `STRING` | The description of the metric.

0 commit comments

Comments
 (0)