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

Remove/replace write lock in replAuthenticate()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.6, 2.1.2
    • Security
    • All

    Description

      In repl.cpp (L1056 in r2.0.2; L1069 in master), we take a write lock before calling findOne() or getSingleton(). There doesn't seem to be a reason for taking a write lock here; replacing with a read lock seems to make sense.

      Attachments

        Activity

          People

            Unassigned Unassigned
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: