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

Pull expensive calls like _wakeReadyWaiters out of the replSetUpdatePosition inner loop

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • v6.0, v5.3, v5.0
    • Repl 2022-05-30, Repl 2022-06-13

    Description

      We only need to wake waiters once after doing all the update positions, not once for every secondary updated.

      Attachments

        Issue Links

          Activity

            People

              matthew.russotto@mongodb.com Matthew Russotto
              matthew.russotto@mongodb.com Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: