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


##########
be/src/olap/lru_cache.h:
##########
@@ -219,12 +222,15 @@ class Cache {
     // encouraged to override the default implementation.  A future release of
     // leveldb may change prune() to a pure abstract method.
     // return num of entries being pruned.
-    virtual int64_t prune() { return 0; }
+    virtual std::tuple<PrunedCount, PrunedSize> prune() { return {0, 0}; }

Review Comment:
   done



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