sryanyuan commented on PR #3049:
URL: https://github.com/apache/kvrocks/pull/3049#issuecomment-3059903010

   > @sryanyuan 
[EraseUnRefEntries](https://github.com/facebook/rocksdb/blob/988357696dc7961789b32092a2e66effb7c2528e/cache/lru_cache.cc#L145)
 seems only flush evictable items(no reference). I find the 
[ClearCache](https://github.com/facebook/rocksdb/blob/988357696dc7961789b32092a2e66effb7c2528e/db/db_block_cache_test.cc#L910)
 implementation in rocksdb test case, but it might have the memory issue if the 
cache is large enough.
   
   I will investigate this further.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to