[CDRIVER-4197] Drivers should check out an implicit session only after checking out a connection Created: 20/Oct/21  Updated: 02/Nov/23  Resolved: 02/Nov/23

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

Type: Spec Change Priority: Major - P3
Reporter: PM Bot Assignee: Adrian Dole
Resolution: Works as Designed Votes: 0
Labels: size-medium
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-1030 Drivers should check out an implicit ... Closed
Related
related to CDRIVER-4311 Clarify intended bounding of implicit... Closed
is related to PHPLIB-747 Drivers should check out an implicit ... Closed
Quarter: FY24Q4
Upstream Changes Summary:

DRIVERS-1030:
Drivers need to implement a new prose test, and implement either a refactor of their sessions allocation to occur after connection checkout or lazily allocate an existing session after successful checkout.


 Description   

This ticket was split from DRIVERS-1030, please see that ticket for a detailed description.



 Comments   
Comment by Adrian Dole [ 02/Nov/23 ]

mongoc_client_pool_t limits the number of clients to maxPoolSize and each client can only have one implicit session active.

Prose test cannot be implemented as concurrent operations are not possible with maxPoolSize=1.

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