Skip to content

Commit a1aacf7

Browse files
committed
Updates by comments
1 parent 8ea9848 commit a1aacf7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

doc/admin/troubleshoot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ This issue can be fixed in two ways:
256256

257257
.. NOTE::
258258

259-
To avoid brain split between two masters, one of the instances may be put in the :ref:`isolated mode <_configuration_reference_isolated_mode>`.
259+
If one of the instances must be isolated during troubleshooting, it can be put to the :ref:`isolated mode <_configuration_reference_isolated_mode>`.
260260

261261
Then, restart replication as described in :ref:`Restarting replication <replication-master-master-resolve-conflict>`.
262262

doc/code_snippets/snippets/config/instances.enabled/isolated_mode/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ groups:
77
i-002: {}
88
i-003: {}
99
i-004:
10-
isolated: true
10+
isolated: true

doc/reference/configuration/configuration_reference.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2848,15 +2848,14 @@ The option takes boolean values, by default it is set to ``false``.
28482848

28492849
The isolated mode allows the user to temporarily isolate an instance and perform maintenance activities on it.
28502850

2851-
The isolated mode moves the instance to the read-only state, in which:
2851+
In the isolated mode:
28522852

2853+
* The instance is moved to the read-only state
28532854
* iproto stops listening for new connections
28542855
* iproto drops all the current connections
28552856
* The instance is disconnected from all the replication upstreams
28562857
* Other replicaset members exclude the isolated instance from the replication upstreams
28572858

2858-
Once the mode is enabled, any request trying to change persistent data will fail with the ``ER_READONLY`` error.
2859-
28602859
.. NOTE::
28612860

28622861
Isolated instance can't be bootstrapped (a local snapshot is required to start).

0 commit comments

Comments
 (0)