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

Make it clear from the stack trace whether a command is running in a checked out session

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.6
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-11-05, Repl 2018-11-19

    Description

      SERVER-37105 made it clear if we check out a session in a stack trace, but it implies that we only do so in transactions. We actually do so in retryable writes as well. invokeInTransaction should likely be called invokeWithSessionCheckedOut, and we should add a way to know if this operation is part of a transaction or a retryable write.

      Attachments

        Activity

          People

            judah.schvimer@mongodb.com Judah Schvimer
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: