-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2020-05-18, Repl 2020-06-01
Similar to how we wait for enough ping stats when choosing a sync source, we should wait for enough ping stats before re-evaluating our sync source.
We should wait for 5N pings (where N is the number of members in the replica set not counting ourselves) before re-evaluating our sync source to avoid unnecessary ping time fluctuation, since that is (approximately) the point at which all ping times will be weighted the same in the rolling average.
- depends on
-
SERVER-47449 Re-evaluate sync source after fetching each batch of oplog entries
- Closed