File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ replSetSyncFrom
16
16
which host the current :program:`mongod` will poll :term:`oplog`
17
17
entries from. This operation may be useful for testing different
18
18
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 :
21
21
22
- - itself.
23
- - an arbiter.
22
+ - the node itself.
23
+ - an arbiter (arbiters have no data) .
24
24
- a member that does not build indexes.
25
25
- an unreachable member.
26
26
- a :program:`mongod` instance that is not a member of the same
@@ -54,8 +54,7 @@ replSetSyncFrom
54
54
55
55
:dbcommand:`replSetSyncFrom` provides a temporary override of
56
56
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.
60
59
61
60
.. slave-ok, admin-only
You can’t perform that action at this time.
0 commit comments