[CDRIVER-2729] Add mongoc_client_session_in_transaction() to public API Created: 06/Jul/18  Updated: 28/Oct/23  Resolved: 16/Jul/18

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: 1.12.0

Type: New Feature Priority: Major - P3
Reporter: Jeremy Mikola Assignee: A. Jesse Jiryu Davis
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 PHPLIB-368 Operations executed within transactio... Closed
is depended on by PHPC-1231 Add Session::isInTransaction to indic... Closed
Related
is related to CDRIVER-2558 Implement Transactions spec Closed

 Description   

Per PHPC-1231 and PHPLIB-368, the PHP driver needs some way to discern if a session is in an active transaction so it can determine whether it is permissible to inherit class-level read and write concerns for an operation.



 Comments   
Comment by Githook User [ 17/Jul/18 ]

Author:

{'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}

Message: CDRIVER-2729 mongoc_client_session_in_transaction
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/8868a3bbe79fe9ca826b64fcb7df17c19fbb5bb7

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