[CSHARP-4504] Do not perform server selection to determine sessions support Created: 30/Jan/23  Updated: 01/Jun/23  Resolved: 01/Jun/23

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

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Boris Dogadov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2530 Do not perform server selection to de... Implementing
Epic Link: Easier debugging with standardized logging
Quarter: FY23Q4, FY24Q1
Upstream Changes Summary:

DRIVERS-2530:
Drivers should implement the sessions spec changes in 90cfaef, removing the server selection step for session support and relying exclusively on the `logicalSessionTimeoutMinutes` reported by the checked out connection instead. Two new prose tests are added to ensure the user-facing behavior for explicit and implicit sessions remains unchanged when communicating with a server that does not support sessions. This work is a pre-requisite for sever selection logging (DRIVERS-1671), which will define additional tests to ensure no server selection is performed for session support.

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

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



 Comments   
Comment by Githook User [ 01/Jun/23 ]

Author:

{'name': 'BorisDog', 'email': 'BorisDog@users.noreply.github.com', 'username': 'BorisDog'}

Message: CSHARP-4504: Do not perform server selection to determine sessions support (#1095)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/726ab47cf3b9bde006ebb96ec44cb5d6003a0a9b

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