Skip to content

Commit 71169b7

Browse files
committed
clarify
1 parent 57e4473 commit 71169b7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

source/reference/command/replSetSyncFrom.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ replSetSyncFrom
1616
which host the current :program:`mongod` will poll :term:`oplog`
1717
entries from. This operation may be useful for testing different
1818
patterns and in situations where a set member is not syncing from
19-
the host you want. You may **not** use this command to force a
20-
member to sync from:
19+
the host you want. The member to sync from must be a valid sync
20+
source for data in the set; that is, it it cannot be:
2121

22-
- itself.
23-
- an arbiter.
22+
- the node itself.
23+
- an arbiter (arbiters have no data).
2424
- a member that does not build indexes.
2525
- an unreachable member.
2626
- a :program:`mongod` instance that is not a member of the same
@@ -54,8 +54,7 @@ replSetSyncFrom
5454

5555
:dbcommand:`replSetSyncFrom` provides a temporary override of
5656
default behavior. When you restart the :program:`mongod`
57-
instance, it will revert to the default syncing logic. Always
58-
exercise caution with :dbcommand:`replSetSyncFrom` when
59-
overriding the default behavior.
57+
instance, or if the sync's TCP connection flaps (resets), mongod
58+
will revert to its default logic for selecting a sync source.
6059

6160
.. slave-ok, admin-only

0 commit comments

Comments
 (0)