From 6c12943027c24a2edd5cd386c323065092ab163e Mon Sep 17 00:00:00 2001 From: AlexicaWright <49636617+AlexicaWright@users.noreply.github.com> Date: Tue, 22 Nov 2022 14:12:02 +0100 Subject: [PATCH 1/4] added dryrun to list of additions and a note about 5.2 --- .../ROOT/pages/access-control/manage-servers.adoc | 5 +++++ ...eprecations-additions-removals-compatibility.adoc | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/access-control/manage-servers.adoc b/modules/ROOT/pages/access-control/manage-servers.adoc index 1692ba52a..8e8011769 100644 --- a/modules/ROOT/pages/access-control/manage-servers.adoc +++ b/modules/ROOT/pages/access-control/manage-servers.adoc @@ -352,6 +352,11 @@ Using `DRYRUN REALLOCATE DATABASE` returns a view of how the databases would hav | "db3" | "server-1" | "00000000-94ff-4ede-87be-3d741b795480" | "server-5" | "00000003-0df7-4057-81fd-1cf43c9ef5f7" | "primary" |=== +[NOTE] +==== +`DRYRUN` is introduced in Neo4j 5.2 and thus does not work in previous versions. +==== + [[server-management-deallocate]] == Deallocate databases diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index cbfe9834f..9e3460e10 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -1,5 +1,5 @@ [[cypher-deprecations-additions-removals-compatibility]] -= Deprecations, additions and compatibility += Deprecations, additions, and compatibility :description: all of the features that have been removed, deprecated, added, or extended in different Cypher versions. @@ -32,6 +32,16 @@ a| Creating composite databases now allows for an empty options clause. There are no applicable option values for composite databases. +a| +label:functionality[] +label:updated[] +[source, cypher, role="noheader"] +---- +DRYRUN +---- + +a| To preview of the result of a command without executing it, prepend the command with `DRYRUN`. + |=== [[cypher-deprecations-additions-removals-5.1]] From d9e1ff3668014492769d38d13f8fcea05be4898c Mon Sep 17 00:00:00 2001 From: AlexicaWright <49636617+AlexicaWright@users.noreply.github.com> Date: Tue, 22 Nov 2022 14:56:27 +0100 Subject: [PATCH 2/4] Update modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jens Pryce-Ã…klundh <112686610+JPryce-Aklundh@users.noreply.github.com> --- .../pages/deprecations-additions-removals-compatibility.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 9e3460e10..c8b3897b7 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -40,7 +40,7 @@ label:updated[] DRYRUN ---- -a| To preview of the result of a command without executing it, prepend the command with `DRYRUN`. +a| To preview the result of a command without executing it, prepend the command with `DRYRUN`. |=== From 5a6d6bdc92613185b86846dfcf322e45967e7559 Mon Sep 17 00:00:00 2001 From: AlexicaWright <49636617+AlexicaWright@users.noreply.github.com> Date: Tue, 22 Nov 2022 15:42:56 +0100 Subject: [PATCH 3/4] addressed PR comments --- modules/ROOT/pages/access-control/manage-servers.adoc | 3 +-- .../pages/deprecations-additions-removals-compatibility.adoc | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/access-control/manage-servers.adoc b/modules/ROOT/pages/access-control/manage-servers.adoc index 8e8011769..8ab5044ef 100644 --- a/modules/ROOT/pages/access-control/manage-servers.adoc +++ b/modules/ROOT/pages/access-control/manage-servers.adoc @@ -354,7 +354,7 @@ Using `DRYRUN REALLOCATE DATABASE` returns a view of how the databases would hav [NOTE] ==== -`DRYRUN` is introduced in Neo4j 5.2 and thus does not work in previous versions. +`DRYRUN` is introduced in Neo4j 5.2, and thus is not available in earlier minor releases ov v5. ==== [[server-management-deallocate]] @@ -375,7 +375,6 @@ Using `DRYRUN DEALLOCATE DATABASES FROM 'server-1', 'server-2'` returns a view o [options="header,footer", width="100%", cols="m,m,m,m,m,m"] |=== |database|fromServerName|fromServerId|toServerName|toServerId|mode - | "db1" | "server-1" | "00000001-8c04-4731-a2fd-7b0289c511ce" | "server-4" | "00000002-5b91-43c1-8b25-5289f674563e" | "primary" | "db1" | "server-2" | "00000000-7e53-427c-a987-24634c4745f3" | "server-5" | "00000003-0e98-44c8-9844-f0a4eb95b0d8" | "primary" |=== diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 9e3460e10..856b81844 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -37,10 +37,10 @@ label:functionality[] label:updated[] [source, cypher, role="noheader"] ---- -DRYRUN +DRYRUN REALLOCATE\|DEALLOCATE DATABASES FROM ---- -a| To preview of the result of a command without executing it, prepend the command with `DRYRUN`. +a| To preview of the result of either `REALLOCATE` or `DEALLOCATE` without executing, prepend the command with `DRYRUN`. |=== From 9c042c0fef9e0fed78d0f5a1cff42d7a6db03dff Mon Sep 17 00:00:00 2001 From: AlexicaWright <49636617+AlexicaWright@users.noreply.github.com> Date: Wed, 23 Nov 2022 08:57:58 +0100 Subject: [PATCH 4/4] changed label to new --- .../pages/deprecations-additions-removals-compatibility.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 856b81844..b41bab7d5 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -34,7 +34,7 @@ There are no applicable option values for composite databases. a| label:functionality[] -label:updated[] +label:new[] [source, cypher, role="noheader"] ---- DRYRUN REALLOCATE\|DEALLOCATE DATABASES FROM