yiguolei commented on code in PR #45743:
URL: https://github.com/apache/doris/pull/45743#discussion_r1894592567


##########
be/src/runtime/thread_context.h:
##########
@@ -249,13 +249,22 @@ class ThreadContext {
         thread_mem_tracker_mgr->consume(size, skip_large_memory_check);
     }
 
+    doris::Status reserve_memory(const int64_t size) const {

Review Comment:
   xxx 和 try_xxx 区分不清楚是否要检查query和wg的limit。
   我们换个名字,增加一个新的函数,try_reserve_process_memory



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