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

Pull expensive calls like _wakeReadyWaiters out of the replSetUpdatePosition inner loop

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0, v5.3, v5.0
    • Repl 2022-05-30, Repl 2022-06-13

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

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

              Created:
              Updated:
              Resolved: