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

Remove unnecessary lock in SyncSourceFeedback

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.12, 3.4.3, 3.5.2
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v3.4, v3.2
    • Repl 2017-01-23, Repl 2017-02-13

      We currently take a lock to get the ReplicationCoordinator and then prepare a ReplSetUpdatePosition command. None of these things need a lock and it appears to mostly be a vestige of old code that needed it. This will also help the backport of the LastVote work to 3.2.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: