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

syncSourceFeedback can spin, with network traffic, during reconfig

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL

      During a replica set reconfig, each node independently increments and installs the new config. While this is happening, it is possible for a node to attempt to run an updatePosition command on a sync source node with a different config version than its own. Currently, the code tries again immediately until the config versions between the two nodes becomes the same and the updatePosition command finally succeeds; this can result in heavy network traffic.
      One stopgap solution to this problem is to put in a sleep between retries.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: