[JAVA-4365] Check out an implicit session only after checking out a connection Created: 20/Oct/21  Updated: 28/Oct/23  Resolved: 09/Feb/22

Status: Closed
Project: Java Driver
Component/s: Session Management
Affects Version/s: None
Fix Version/s: 4.5.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: size-small, spec-compliance
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
Quarter: FY22Q4
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.

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

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



 Comments   
Comment by Githook User [ 09/Feb/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Check out an implicit session only after checking out a connection (#865)

This is accomplished by delaying allocation of a server session until actually required.

JAVA-4365
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/dd291c3c23757522fb41a077a3029f50e4b2eb08

Generated at Thu Feb 08 09:01:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.