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

Call SyncSourceFeedback::forwardSlaveProgress only once per replSetUpdatePositionCommand

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • None
    • Replication
    • None

    Description

      When we receive a replSetUpdatePositionCommand, it can contain progress updates for multiple nodes. We loop and call setLastOptime for each node with an update. Currently setLastOptime calls forwardSlaveProgress each time, potentially triggering more network round trips than necessary. Instead we should process all the updates, then call forwardSlaveProgress once at the end so we send one update with the information about all members

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: