-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.4.0-rc7
-
Component/s: Internal Code
-
Service Arch
-
ALL
-
v5.0
-
11
The MongoD, MongoS and DBTest processes create a ServiceContext at initialisation time, but never destroy it. This means a lot of internal services, which hang off the ServiceContext and use the Construction/Destruction actions do not actually get shut down.
In the case of non-SAN builds, this is expected and valuable (because the time it takes to fully unwind all client stacks is long, and end users don't benefit from waiting), but for SAN builds we already unwind stacks, so also destroying the service context is completely acceptable.
- is duplicated by
-
SERVER-49759 Destruct AuthorizationManager on shutdown
- Closed
- related to
-
SERVER-49762 Destroy the ServiceContext on clean shutdown in TSAN builds
- Closed
-
SERVER-57984 Complete TODO listed in SERVER-48490
- Closed