[SERVER-47449] Re-evaluate sync source after fetching each batch of oplog entries Created: 09/Apr/20  Updated: 29/Oct/23  Resolved: 08/May/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-47447 Add server parameter for the ping tim... Closed
is depended on by SERVER-47450 Skip re-evaluating sync source if nod... Closed
is depended on by SERVER-47451 Skip re-evaluating sync source if nod... Closed
is depended on by SERVER-47452 Skip re-evaluating sync source if cur... Closed
Related
related to SERVER-47447 Add server parameter for the ping tim... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-05-04, Repl 2020-05-18
Participants:
Case:

 Description   

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.



 Comments   
Comment by Githook User [ 08/May/20 ]

Author:

{'name': 'Xuerui Fa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-47449: Re-evaluate sync source after fetching each batch of oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/a7ff5838b5a4bcb4881a08c5dafce671c3b54940

Generated at Thu Feb 08 05:14:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.