-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.6.0-rc1
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Sharding 2017-11-13
The default key refresh time is 3 months: https://github.com/mongodb/mongo/blob/master/src/mongo/db/keys_collection_manager.cpp#L37
There's a background thread responsible for refreshing keys. That thread renews its OperationContext on each iteration. However, an iteration (I believe) can sleep for the full three months when newly negotiated keys are set to expire. Holding this OperationContext open can block WT tables from being dropped. Generally speaking, an OperationContext should be short-lived.
- is related to
-
SERVER-31573 WT table not dropped on primary after collection is dropped
- Closed
- related to
-
SERVER-31101 WT table not dropped after collection is dropped due to long-running OperationContext
- Closed