@@ -3,14 +3,17 @@ content: |
3
3
Sync Logic
4
4
~~~~~~~~~~
5
5
6
- Only modify the default sync logic as needed, and always exercise
7
- caution. {{syncfrom}} will not affect an in-progress initial sync
8
- operation. To affect the sync target for the initial sync, run
9
- {{syncfrom}} operation *before* initial sync.
6
+ .. versionchanged:: 3.4
7
+
8
+ If an initial sync operation is in progress when you run
9
+ {{syncfrom}}, {{syncfrom}} stops the in-progress initial sync and
10
+ restarts the sync process with the new target. In previous versions,
11
+ if you run {{syncfrom}} during initial sync, MongoDB produces no
12
+ error messages, but the sync target will not change until after the
13
+ initial sync operation.
10
14
11
- If you run {{syncfrom}} during initial sync, MongoDB
12
- produces no error messages, but the sync target will not change until
13
- after the initial sync operation.
15
+ Only modify the default sync logic as needed, and always exercise
16
+ caution.
14
17
15
18
Target
16
19
~~~~~~
@@ -34,10 +37,6 @@ content: |
34
37
behind the current member, :program:`mongod` will log a warning but will
35
38
still replicate from the lagging member.
36
39
37
- If you run {{syncfrom}} during initial sync, MongoDB produces no error
38
- messages, but the sync target will not change until after the initial
39
- sync operation.
40
-
41
40
Persistence
42
41
~~~~~~~~~~~
43
42
0 commit comments