[GODRIVER-2742] Do not perform server selection to determine sessions support Created: 30/Jan/23  Updated: 06/Dec/23  Resolved: 26/Jul/23

Status: Closed
Project: Go Driver
Component/s: Sessions
Affects Version/s: None
Fix Version/s: 1.13.0, 1.13.1

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Preston Vasquez
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 GODRIVER-2572 Add log messages to Server selection ... Closed
Gantt Dependency
has to be done before GODRIVER-2572 Add log messages to Server selection ... Closed
Issue split
split from DRIVERS-2530 Do not perform server selection to de... Implementing
Related
is related to GODRIVER-1712 Easier debugging with standardized lo... Closed
is related to GODRIVER-2885 Remove deprecated "SessionTimeoutMinu... Closed
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.

Backwards Compatibility: Fully Compatible
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 [ 26/Jul/23 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2742 Do not perform server selection to determine sessions support (#1295)

Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
Co-authored-by: Kevin Albertson <kevin.albertson@10gen.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/26f508fbc712a630a83bc631cf949f103d3093df

Generated at Thu Feb 08 08:39:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.