yiguolei commented on code in PR #38168:
URL: https://github.com/apache/doris/pull/38168#discussion_r1686137266
##########
be/src/runtime/memory/thread_mem_tracker_mgr.h:
##########
@@ -291,6 +297,10 @@ inline bool ThreadMemTrackerMgr::try_reserve(int64_t size)
{
_limiter_tracker_raw->release(size); // rollback
return false;
}
+ auto wg_ptr = _wg_wptr.lock();
+ if (!wg_ptr) {
+ wg_ptr->add_wg_refresh_interval_memory_growth(size);
Review Comment:
要返回true or false 表示wg 是否reserve 成功了。
--
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]