yiguolei commented on code in PR #45719: URL: https://github.com/apache/doris/pull/45719#discussion_r1895714436
########## be/src/olap/lru_cache.cpp: ########## @@ -476,14 +545,15 @@ void LRUCache::erase(const CacheKey& key, uint32_t hash) { e = _table.remove(key, hash); if (e != nullptr) { last_ref = _unref(e); - if (last_ref) { Review Comment: 原来的代码里,如果478 行,last ref == false,什么时候才执行480 行的代码呢? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org