git-hulk commented on PR #3049: URL: https://github.com/apache/kvrocks/pull/3049#issuecomment-3057044632
@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. -- 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]
