-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2020-05-04, Repl 2020-05-18
-
(copied to CRM)
Check if there is a significantly closer node at the end of processing each new batch of oplog entries fetched. If the node is in initial sync, it should not re-evaluate its sync source.
The node will use ping times and the new changeSyncSourceThresholdMillis server parameter to determine if the node could switch from syncing from a node in a different data center to a node within the same data center. This check will be skipped if the current sync source’s ping time satisfies changeSyncSourceThresholdMillis.
If changeSyncSourceThresholdMillis is set to 0, nodes should not re-evaluate their sync source.
- depends on
-
SERVER-47447 Add server parameter for the ping time threshold for changing sync sources
- Closed
- is depended on by
-
SERVER-47450 Skip re-evaluating sync source if node is configured with slaveDelay
- Closed
-
SERVER-47451 Skip re-evaluating sync source if node does not have enough ping stats from other nodes in replica set
- Closed
-
SERVER-47452 Skip re-evaluating sync source if current sync source was specified via the replSetSyncFrom command
- Closed
- related to
-
SERVER-47447 Add server parameter for the ping time threshold for changing sync sources
- Closed