-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.4.0-rc3
-
Component/s: None
-
Fully Compatible
-
ALL
-
v4.4
-
Service arch 2020-06-29, Service arch 2020-07-13
-
0
AuthorizationManager owns a ThreadPool (see here) that is stopped/deleted at the end of the its lifetime. It also holds a reference to the ServiceContext, which is reset in here before the ServiceContext is deleted.
Since the ThreadPool outlives ServiceContext, and it can schedule tasks that manage opCtxs locally (see here for example), AuthorizationManager should stop the ThreadPool before ServiceContext is deleted.
- is related to
-
SERVER-48650 Unit tests' ServiceContext's NetworkInterfaceMockClockSource cannot continue to depend upon the lifetime of the ReplicationCoordinator to remain valid
- Closed