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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.6
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2018-11-05, Repl 2018-11-19

      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.

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

              Created:
              Updated:
              Resolved: