-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
v4.2
-
Repl 2020-01-27, Repl 2020-02-10
-
(copied to CRM)
Safe Reconfig requires data replication across config versions for liveness reasons.
Currently, we do not sync from a node that has a different config version. The oplog fetcher checks if it should stop fetching from the sync source (after it has fetched the first batch).
shouldStopFetching calls replCoord->shouldChangeSyncSource which finally calls topCoord->shouldChangeSyncSource. Here, we check for the various reasons we would want to change sync source (i.e. not being in the same config).
- is duplicated by
-
SERVER-45083 Allow data replication across config versions
- Closed
- related to
-
SERVER-47097 Add isPrimary to ReplSetMetadata and use it for sync source selection
- Closed