Move session checkout to before command execution

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2019-03-25, Repl 2019-04-08
    • 22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Waiting for write concern with session still checked out caused deadlocks. As part of SERVER-37179, we push down the transaction start to before command execution. We need to move session checkout too. Thus an operation should have already checked in the session while writing for write concern.

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: