@@ -574,7 +574,7 @@ data.
574
574
575
575
To do so, use one of the following approaches:
576
576
577
- - Restart the machine with an empty data directory and let MongoDB's
577
+ - Restart the :program:`mongod` with an empty data directory and let MongoDB's
578
578
automatic syncing feature restore the data. This approach requires
579
579
fewer steps but can take longer to replace the data.
580
580
@@ -594,7 +594,7 @@ Automatically Resync a Stale Member
594
594
595
595
This procedure relies on MongoDB's automatic syncing feature to restore
596
596
the data on the stale member. For an overview of how MongoDB syncs
597
- replica sets, see :ref:`replica-set-syncing`.
597
+ :term:` replica sets <replica set>` , see :ref:`replica-set-syncing`.
598
598
599
599
To resync the stale member:
600
600
@@ -617,7 +617,9 @@ To resync the stale member:
617
617
mongod --dbpath /data/db/ --replSet rsProduction
618
618
619
619
MongoDB resyncs the member. Resyncing may take a long time, depending on
620
- the size of the database and speed of the network.
620
+ the size of the database and speed of the network. Also,
621
+ this puts a load on the member being synced from. That
622
+ member might not be able to keep a working set in memory.
621
623
622
624
.. index:: replica set; resync
623
625
.. _replica-set-resync-by-copying:
@@ -627,7 +629,7 @@ Resync by Copying Data from Another Member
627
629
628
630
This approach uses the data directory of an existing member to "seed"
629
631
the stale member. The data must be recent enough to allow the new member
630
- to catch up with the :term:`primary` member's :term:` oplog`.
632
+ to catch up with the :term:`oplog`.
631
633
632
634
To resync by copying data from another member, use one of the following
633
635
approaches:
@@ -636,14 +638,11 @@ approaches:
636
638
snapshot to the stale member. Use the snapshot procedures in
637
639
:doc:`/administration/backups`.
638
640
639
- - Lock another member's database with the :method:`db.fsyncLock()`
640
- command, copy that data, and then restore the data to the stale
641
+ - Lock another member's data with the :method:`db.fsyncLock()`
642
+ command, copy all of the data in the data directory , and then restore the data to the stale
641
643
member. Use the procedures for backup storage in
642
644
:doc:`/administration/backups`.
643
645
644
- - Use the :dbcommand:`copydb` and :dbcommand:`clone` commands, as
645
- described in :doc:`/tutorial/copy-databases-between-instances`.
646
-
647
646
.. _replica-set-security:
648
647
649
648
Replica Set Security
0 commit comments