Skip to content

Commit 31c7634

Browse files
author
Bob Grabar
committed
DOCS-561 & DOCS-551 reconfig repl set when members down: draft 4
1 parent ec6b2d3 commit 31c7634

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

source/tutorial/reconfigure-replica-set-when-members-are-down.txt

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ or unreachable, you must manually change the set configuration as
1515
described in the procedures in this tutorial. Use the procedure
1616
appropriate to your version and situation.
1717

18-
Reconfiguring when a *majority* of members are down can include
18+
Reconfiguring when a majority of members are down can include
1919
situations where you have a network partition and where neither side of
2020
the partition has a majority. In such cases the two sides of the
2121
partition cannot see each other when determining whether a majority
@@ -38,19 +38,16 @@ reconfiguration of the replica set.
3838

3939
The ``force`` option manually reconfigures the set. The option is
4040
intended only for serious problems, such as a disaster recovery
41-
failover. Do not use ``force`` any time you reconfigure. Also, do not
42-
include ``force`` into any automatic scripts and do not use ``force``
41+
failover. Do not use ``force`` for more routine reconfigurations. Also,
42+
do not use ``force`` in any automatic scripts and do not use ``force``
4343
when there is still a primary.
4444

4545
To force reconfiguration:
4646

47-
1. Back up a surviving member, both for safety and to bring up more new
48-
set members more easily.
47+
1. Back up a surviving member.
4948

50-
#. Connect to any surviving member and save the current configuration
51-
so that you can switch back to the old configuration once the members
52-
are restored. Consider the following example commands for saving the
53-
configuration:
49+
#. Connect to a surviving member and save the current configuration.
50+
Consider the following example commands for saving the configuration:
5451

5552
.. code-block:: javascript
5653

@@ -84,10 +81,12 @@ To force reconfiguration:
8481
hundreds of thousands. This is normal and designed to prevent set
8582
version collisions if network partitioning ends.
8683

87-
#. If any of the removed members come back online, there is the chance
88-
they will elect a new primary, resulting in two primaries. To ensure
89-
that the removed members do not elect a new primary, shut down or
90-
decommission the removed members as soon as possible.
84+
#. If the failure or partition was only temporary, the removed members
85+
will detect that they have been removed from the set. If any of the
86+
removed members come back online, there is the chance they will elect
87+
a new primary, resulting in two primaries. To ensure that the removed
88+
members do not elect a new primary, shut down or decommission the
89+
removed members as soon as possible.
9190

9291
Reconfigure by Replacing the Replica Set
9392
----------------------------------------

0 commit comments

Comments
 (0)