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.
maybe I should change in future.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]