yiguolei commented on code in PR #28794: URL: https://github.com/apache/doris/pull/28794#discussion_r1435411670
########## be/src/olap/lru_cache.cpp: ########## @@ -347,16 +358,48 @@ bool LRUCache::_check_element_count_limit() { return _element_count_capacity != 0 && _table.element_count() >= _element_count_capacity; } +bool LRUCache::_lru_k_disable_insert(size_t total_size, visits_lru_cache_key visits_key) { Review Comment: add comment to explain this method -- 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