Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40081

Move session checkout to before command execution

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.10
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2019-03-25, Repl 2019-04-08
    • Linked BF Score:
      22

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              siyuan.zhou Siyuan Zhou
              Reporter:
              siyuan.zhou Siyuan Zhou
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: