When auth is disabled, _mayBypassWriteBlockingMode should be set to true

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2022-07-11, Security 2022-07-25, Security 2022-09-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      https://jira.mongodb.org/browse/SERVER-63174

      The above ticket introduced logic to compute _mayBypassWriteBlockingMode, however, the logic is invoked even when auth is disabled, which incurs a small (and unnecessary) performance overhead. _mayBypassWriteBlockingMode should be directly set to true when auth is disabled.

            Assignee:
            Adam Rayner
            Reporter:
            Jenny Ren (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: