[CDRIVER-3364] Expose transaction state for session Created: 09/Sep/19 Updated: 28/Oct/23 Resolved: 13/Nov/19 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.16.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andreas Braun | Assignee: | Andreas Braun |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Through the mongoc_client_session_in_transaction we are able to find out whether a transaction is currently in progress for a given session. However, the assertSessionTransactionState operation for transaction spec tests calls for evaluating the actual state of the transaction. To do this, we need a function to fetch the actual transaction state for a session. |
| Comments |
| Comment by Githook User [ 13/Nov/19 ] |
|
Author: {'username': 'alcaeus', 'email': 'git@alcaeus.org', 'name': 'Andreas Braun'}Message: |