-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.5.1, 4.2.8, 4.4.0-rc13
-
Component/s: Sharding
-
Service Arch
-
0
At the moment DestructorActions are not executed at shutdown because quick exit process is used to reduce shutdown time. Memory reclaim, socket cleanup and thread shutdown is instead delegated to the underlying operating system.
In order to use the ThreadSanitizer and to get meaningful diagnostic, all running threads needs to be joined and cleaned up before exiting the process.
In particular for some components (like the AuthorizationManager) this can be achieved by ensuring that the DestructorActions are actually executed on shutdown.
- is related to
-
SERVER-48490 Destroy the ServiceContext on clean shutdown
- Closed