Remove/replace write lock in replAuthenticate()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.6, 2.1.2
    • Component/s: Security
    • Environment:
      All
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Ben Becker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: