Skip to content

Commit 61950ec

Browse files
author
Sam Kleinman
committed
additional tutorial edits
1 parent 6f89170 commit 61950ec

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

source/tutorial/reconfigure-replica-set-with-unavailable-members.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To force reconfiguration:
8181
.. note:: When you use ``force : true``, the version number in the
8282
replica set configuration increases significantly, by tens or
8383
hundreds of thousands. This is normal and designed to prevent set
84-
version collisions if there are forced reconfigs on both sides of
84+
version collisions if you accidentally force reconfigs on both sides of
8585
a network partition and then the network partitioning ends.
8686

8787
#. If the failure or partition was only temporary, shut down or
@@ -141,10 +141,10 @@ protect your deployment from operational interruption.
141141
Reconfigure by "Breaking the Mirror"
142142
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143143

144-
This option selects a surviving :term:`replica set` member to be the new
145-
:term:`primary` and to "seed" a new replica set. In this procedure, the
146-
member to be the new primary is referred to as ``A``. All other members
147-
will resync from this new primary.
144+
This option selects a surviving :term:`replica set` member to be the
145+
new :term:`primary` and to "seed" a new replica set. In the following
146+
procedure, the new primary is ``A``. All other members will resync
147+
from this member.
148148

149149
1. Stop the surviving :program:`mongod` instances. To ensure a clean shutdown, use
150150
an existing :term:`control script` or an invocation that resembles the
@@ -165,24 +165,25 @@ will resync from this new primary.
165165

166166
mv /data/db /data/db-old
167167

168-
#. Move ``A``'s ``local.*`` files so that ``A`` has an empty ``local``
169-
directory. For example
168+
#. Move the data files for ``local`` database (i.e. ``local.*``) so
169+
that ``A`` has no local database. For example
170170

171171
.. code-block:: sh
172172

173173
mkdir /data/local-old
174174
mv /data/db/local* /data/local-old/
175175

176-
#. Restart the replica set members the usual way.
176+
#. Start each member of the replica set normally.
177177

178178
#. Connect to ``A`` in a :program:`mongo` shell and run :method:`rs.initiate()`
179179
to initiate the replica set.
180180

181-
#. Add the other set members using :method:`rs.add()`. For example, to add a member running
182-
on ``example.net`` at port ``27017``, you would issue this command:
181+
#. Add the other set members using :method:`rs.add()`. For example, to
182+
add a member running on ``example.net`` at port ``27017``, issue
183+
the following command:
183184

184185
.. code-block:: javascript
185186

186187
rs.add("example.net:27017")
187188

188-
The added members will initial sync their data from ``A``.
189+
These members will resync and copy all data from ``A``.

0 commit comments

Comments
 (0)