Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: NataliaIvakina <[email protected]>
  • Loading branch information
Frannie-Ludmilla and NataliaIvakina authored Dec 19, 2024
1 parent 2e010e5 commit 174a6de
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions modules/ROOT/pages/procedures.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1127,12 +1127,11 @@ For more information, see the link:{neo4j-docs-base-uri}/cypher-manual/{page-ver

[NOTE]
====
Users should prefer the usage of procedures.adoc#procedure_dbms_unquarantineDatabase[`dbms.unquarantineDatabase()`]
over `dbms.quarantineDatabase()` because of the improvements and the new features (see the `operation` option ).
The deprecated `dbms.quarantineDatabase()` procedure is available in Cypher 5 but not in Cypher 25.
It is recommended to use <<procedure_dbms_unquarantineDatabase,`dbms.unquarantineDatabase()`>> over `dbms.quarantineDatabase()` due to its improvements and new features (see the `operation` option ).
The deprecated `dbms.quarantineDatabase()` procedure is available in Cypher 5, but not in Cypher 25.
====

[role=label--enterprise-edition label--admin-only]
[role=label--enterprise-edition label--admin-only label--new-2025.01]
[[procedure_dbms_unquarantineDatabase]]
=== dbms.unquarantineDatabase()

Expand All @@ -1156,11 +1155,10 @@ The possible values for the cleanup operation are:
[NOTE]
====
If you choose to clear the current cluster state, the server will try to join as a new member,
but this joining can succeed if and only if there is a majority of old members "letting" the
new members in. Let's assume our cluster has a topology with three primaries. If there is only one server
in `QUARANTINED` mode, then it is safe to choose `replaceStateKeepStore` or `replaceStateReplaceStore`.
If there are two servers in `QUARANTINED` mode, then you should not use concurrently `replaceStateKeepStore` or
`replaceStateReplaceStore` for both servers because there would be no majority to let them in.
but this joining can succeed if and only if there is a majority of old members "letting" the new members in.
Let's assume our cluster has a topology with three primaries.
If there is only one server in `QUARANTINED` mode, then it is safe to choose `replaceStateKeepStore` or `replaceStateReplaceStore`.
If there are two servers in `QUARANTINED` mode, then you should not use concurrently `replaceStateKeepStore` or `replaceStateReplaceStore` for both servers because there would be no majority to let them in.
====

[role=label--admin-only label--deprecated-5.9]
Expand Down

0 comments on commit 174a6de

Please sign in to comment.