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

Skip re-evaluating sync source if node does not have enough ping stats from other nodes in replica set

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2020-05-18, Repl 2020-06-01

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: