[SERVER-35759] ARS::_makeProgress shouldn't get RouterSessionRuntimeState decoration if opCtx is a null pointer Created: 22/Jun/18  Updated: 27/Oct/23  Resolved: 13/Jul/18

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

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Sharding
Operating System: ALL
Participants:
Linked BF Score: 57

 Description   

AsyncRequestsSender::_makeProgress gets the RouterSessionRuntimeState decoration off the operation context given to the function, but when _makeProgress is called from the ARS destructor, it is given a nullptr. Trying to get the decoration from a nullptr triggers an access violation and crashes.



 Comments   
Comment by Jack Mulrow [ 13/Jul/18 ]

This was fixed by SERVER-35735 moving the participant code to the sharding task executor, which early returns if the opCtx is null, so I'm closing this as gone away.

Comment by Esha Maharishi (Inactive) [ 22/Jun/18 ]

CC renctan

Generated at Thu Feb 08 04:40:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.