basho / leveldb

Clone of http://code.google.com/p/leveldb/
BSD 3-Clause "New" or "Revised" License
408 stars 182 forks source link

Polling file cache expire [JIRA: RIAK-2297] #178

Open matthewvon opened 8 years ago

matthewvon commented 8 years ago

Food for thought: file cache expire currently requires file cache action to initiate. Is it possible to start the expire on "dormant" file caches via the Throttle 1 minute loop (as now done for compactions)?

matthewvon commented 8 years ago

same problem seen for block cache, especially in light of expiry. 20G cache assignment gets filled with useless dead blocks because number of active files is so small that page cache override is not forcing block cache purge.