[SERVER-80763] Separate SessionManager into a base class and two subclasses for asio and gRPC-based sessions Created: 05/Sep/23  Updated: 24/Jan/24  Resolved: 04/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Patrick Freed Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-80867 Split Session lifecycle events from S... Closed
depends on SERVER-81503 Move startup/shutdown management of S... Closed
Problem/Incident
Backwards Compatibility: Major Change
Backport Requested:
v7.2
Sprint: Security 2023-10-02, Security 2023-10-16, Security 2023-10-30, Security 2023-11-13
Participants:
Linked BF Score: 163

 Description   

In order to manage gRPC and asio sessions properly, we'll need a SessionManager implementation for each. We'll also need to change the ownership of a SessionManager from the ServiceContext to the TransportLayer so that multiple SessionManagers can exist at the same time (e.g. when TransportLayerManager) is in use.



 Comments   
Comment by Githook User [ 10/Nov/23 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-80763 Defer SessionManager shutdown
Branch: master
https://github.com/mongodb/mongo/commit/3e2542d513b808f7865008244389d1f0ad4e39b6

Comment by Githook User [ 06/Nov/23 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-80763 Guard against not having a TransportLayerManager
Branch: master
https://github.com/mongodb/mongo/commit/463a09d5b0af502ce070b5c3e7e88ba13a8da1ca

Comment by Githook User [ 04/Nov/23 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-80763 Split SessionManagerCommon into Asio/Grpc specializations
Branch: master
https://github.com/mongodb/mongo/commit/249be0942a56ad721761dd271ed527b1d68b4339

Generated at Thu Feb 08 06:44:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.