gavinchou commented on code in PR #53570:
URL: https://github.com/apache/doris/pull/53570#discussion_r2218637069


##########
be/src/io/cache/block_file_cache.cpp:
##########
@@ -1832,7 +1832,7 @@ void BlockFileCache::check_need_evict_cache_in_advance() {
         config::file_cache_exit_need_evict_cache_in_advance_percent = 75;
     }
     if (is_insufficient(space_percentage) || is_insufficient(inode_percentage) 
||
-        is_insufficient(size_percentage)) {
+        is_insufficient(static_cast<int>(size_percentage))) {

Review Comment:
   这种转换, 用cast_set.h里声明的 cast_set<>



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

Reply via email to