yiguolei commented on code in PR #9722: URL: https://github.com/apache/incubator-doris/pull/9722#discussion_r878817580
########## be/src/runtime/buffered_block_mgr2.cc: ########## @@ -317,9 +317,7 @@ bool BufferedBlockMgr2::consume_memory(Client* client, int64_t size) { } int buffers_needed = BitUtil::ceil(size, max_block_size()); unique_lock<mutex> lock(_lock); - Status st = _mem_tracker->try_consume(size); - WARN_IF_ERROR(st, "consume failed"); - if (size < max_block_size() && st) { + if (size < max_block_size() && _mem_tracker->try_consume(size)) { Review Comment: Please describe the problem in the issue. -- 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