When a session walks its local cache, it should periodically close/discard any cached handle it has that aren't being used. That allows us to eventually get rid of underlying LSM (closed & removed) file handles in the global cache.
We could mark the global cache handles as "dead", so sessions would know their cached handles aren't useful, or perhaps a timestamp, and sessions could discard any handle that hasn't been used in some amount of time.
- is related to
-
WT-620 Periodically close session and connection dhandles that are no longer
- Closed