Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47449

Re-evaluate sync source after fetching each batch of oplog entries

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2020-05-04, Repl 2020-05-18

      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.

            Assignee:
            xuerui.fa@mongodb.com Xuerui Fa
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: