-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
(copied to CRM)
A session in WiredTiger maintains a cache of dhandles it recently used. This cache is cleaned up periodically by the session sweep. The sweep gets triggered when the session tries to find a new dhandle that it has not used before. Since in such a scenario the session will alter its session cache, cleanup is piggy-backed on it.
With some MongoDB workloads it creates issues (dhandles not getting removed from the global list) when these sessions are not used in a while, or when new dhandles are not accessed through these sessions.
This ticket will look into improvements we can make in session sweep that address the above issue.
- is related to
-
SERVER-40703 Resource leakage + slowness after creating and deleting few thousands of DBs
- Closed
-
WT-4336 With MongoDB, sweep attempts after table drops do not always close active dhandles
- Closed
- related to
-
SERVER-38779 Build a mechanism to periodically cleanup old WT sessions from session cache
- Closed