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

Move session checkout to before command execution

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2019-03-25, Repl 2019-04-08
    • 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

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: