syncSourceFeedback can spin, with network traffic, during reconfig

XMLWordPrintableJSON

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

      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:
              Eric Milkie
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: