[SERVER-36372] Add a testing-only function to DriverSession to get the current transaction number Created: 31/Jul/18  Updated: 29/Oct/23  Resolved: 02/Aug/18

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 4.1.1
Fix Version/s: 4.1.2

Type: Improvement Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-08-13
Participants:

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



 Comments   
Comment by Githook User [ 02/Aug/18 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36372 Add a testing-only function to DriverSession to get the current transaction number
Branch: master
https://github.com/mongodb/mongo/commit/e4bbb726aa1c0c4d3ad46bf9ddabe79af4446b8e

Generated at Thu Feb 08 04:42:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.