-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
v4.4
-
Repl 2020-02-10, Repl 2020-03-09, Repl 2020-03-23
Initial sync doesn't allow changing sync source because the data isn't consistent during initial sync, however it's reasonable to allow changing sync source and restarting initial sync on replSetSyncFrom command, if the specified sync source is different from the current one. Currently the replSetSyncFrom supports initiating a resync while in the middle of an initial sync, but the resync implementation is known to be broken in subtle ways. We should investigate whether these bugs still exist and if so, redesign the implementation.
The command should only restart the active initial sync attempt, not go back into initial sync if initial sync is complete
- is depended on by
-
SERVER-46831 Remove resyncData from replicationCoordinator
- Closed
- is duplicated by
-
SERVER-31487 Replace replSetSyncFrom resync option with initialSyncSource server parameter
- Closed
- is related to
-
SERVER-50320 Fix cancellation races in initial syncer
- Closed
-
SERVER-31239 Disable resync command and remove tests
- Closed
-
SERVER-31487 Replace replSetSyncFrom resync option with initialSyncSource server parameter
- Closed
-
SERVER-38731 Ability to specify sync source read preference in initial sync
- Closed