You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/book/admin/disaster_recovery.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,9 @@ Master crash: manual failover
35
35
36
36
4. Make sure that a new replica set leader is a master using :ref:`box.info.ro <box_introspection-box_info>`.
37
37
38
-
5. Remove a crashed master from a replica set as described in :ref:`Removing instances<replication-remove_instances>`.
38
+
5. On a new master, :ref:`remove a crashed instance from the ``_cluster`` space <replication-remove_instances-remove_cluster>`.
39
39
40
-
6. Set up a replacement for the crashed master on a spare host as described in :ref:`Adding instances <replication-add_instances>`.
40
+
6. Start the instance again on a spare host.
41
41
42
42
See also: :ref:`Performing manual failover <replication-controlled_failover>`.
43
43
@@ -127,8 +127,8 @@ Master-master
127
127
128
128
.. _admin-disaster_recovery-data_loss:
129
129
130
-
Data loss
131
-
---------
130
+
Master-replica/master-master: data loss
131
+
---------------------------------------
132
132
133
133
**Configuration:** master-replica or master-master.
134
134
@@ -140,7 +140,7 @@ Data loss
140
140
Depending on the :ref:`replication.failover <configuration_reference_replication_failover>` mode, this can be done as follows:
141
141
142
142
- ``manual``: change a replica set leader to ``null``.
143
-
- ``election``: switch from the ``election`` failover mode to ``manual`` and change a replica set leader to ``null``.
143
+
- ``election``: set :ref:`replication.election_mode <configuration_reference_replication_election_mode>` to ``voter`` or ``off`` at the replica set level.
144
144
- ``off``: set ``database.mode`` to ``ro``.
145
145
146
146
Reload configurations on all instances using the ``reload()`` function provided by the :ref:`config <config-module>` module.
0 commit comments