[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:
Depends
is depended on by PHPC-1438 Expose more precise session state Closed
is depended on by PHPC-1474 Expose transaction information in deb... Closed

 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: CDRIVER-3364 expose transaction state for session
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/bef4cf349d93a44be9755c4ca4921bf6f6d03f53

Generated at Wed Feb 07 21:17:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.