[SERVER-83766] SessionWorkflow benchmark's mocked sessions cannot access their transport layer Created: 30/Nov/23  Updated: 08/Jan/24  Resolved: 08/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.1

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

Issue Links:
Depends
Fix
is fixed by SERVER-81859 Remove `ServiceExecutorFixed` and its... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08
Participants:
Linked BF Score: 14

 Description   

MockSessionCallback::getTransportLayerCb is never set on the sessions created for the SessionWorkflow benchmark, which causes an error to be thrown whenever session->transportLayer() is invoked. This causes session_workflow_bm to fail consistently.

Note this was fixed on master as part of SERVER-81859 but is still an issue on 7.2.



 Comments   
Comment by Githook User [ 28/Dec/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-83766 Allow sessions to access their TransportLayer in SessionWorkflow benchmark
Branch: v7.2
https://github.com/mongodb/mongo/commit/d322ecd542cfae54192c00f393119f33274eb469

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