-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.28
-
Component/s: Internal Code
-
Labels:None
-
ALL
-
-
Service Arch 2022-07-11
-
(copied to CRM)
The shutdown task for mongos doesn't consider exceptions that may occur before the initialization of global objects (and decorations). For example, LogicalSessionCache is accessed from here on v4.0.28, while it is initialized from here and any error that may occur before this point will cause a segmentation fault during shutdown.
This ticket should identify any resource that is accessed by the shutdown task but may not be ready/initialized during shutdown. The shutdown task must ensure each resource is valid before accessing it.
AC: Investigate if this behavior exists on 4.2/4.4/5.0/6.0, if it does re-triage, if not, close.