SessionKiller should release mutex before creating opctx

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-02-06, Repl 2023-02-20
    • 110
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The SessionKiller runs in a loop and re-creates an operation context each loop. Since it does this under its internal mutex, and in other calls an operation context is accepted and then the internal mutex is taken, this can result in a deadlock involving the operation context creation spinlock.

      We can simply release the mutex while creating the operation context (ensuring we check _shutdown after obtaining the mutex)

            Assignee:
            Matthew Russotto (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: