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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.6
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: