xinyiZzz commented on code in PR #32340:
URL: https://github.com/apache/doris/pull/32340#discussion_r1527555802


##########
be/src/util/obj_lru_cache.cpp:
##########
@@ -45,4 +45,11 @@ void ObjLRUCache::erase(const ObjKey& key) {
     }
 }
 
+bool ObjLRUCache::exceed_prune_limit() {
+    // just return true to prune all cached obj.
+    // Because ObjLRUCache is counted with number, not memory.
+    // Simple prune all
+    return true;

Review Comment:
   great, in addition to obj lru cache, other number lru cache should also have 
similar override.



-- 
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

Reply via email to