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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-08-13

      Description

      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).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: