-
Type:
Bug
-
Status: Closed
-
Priority:
Major - P3
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Backwards Compatibility:Fully Compatible
-
Operating System:ALL
-
Backport Requested:v4.2
-
Sprint:Sharding 2019-07-01, Sharding 2019-07-15
-
Linked BF Score:61
As is, the ShardServerCatalogCacheLoader only shuts down threads and interrupts ops in its destructor. That destructor never gets called because CatalogCacheLoaders are ServiceContext decorations.
We should add a shutdown method to prevent work threads from running into late shutdown.