[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: |