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

Add a testing-only function to DriverSession to get the current transaction number

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: 4.1.1
    • Component/s: Shell
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-08-13

      Currently, tests have no way of extracting the current transaction number from the shell's transactions API. Because of this, tests have to manually start transactions through runCommand and awkwardly coordinate an artificial transaction number.

      This ticket is to add a testing-only function to get the transaction number from the DriverSession (and internally, the current ServerSession).

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: