remove immediate unlock/lock in default_baton.cpp

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • N&O 2025-08-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I was looking at SERVER-109041 and noticed that these two lines first unlock and then immediately relock the same mutex.

      It isn't causing the Coverity warning (which is spurious), and it doesn't do any harm, but I'd like to remove the redundant two-step.

            Assignee:
            David Goffredo
            Reporter:
            David Goffredo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: