yiguolei commented on code in PR #50292:
URL: https://github.com/apache/doris/pull/50292#discussion_r2057720645
##########
be/src/runtime/workload_management/memory_context.h:
##########
@@ -82,6 +82,9 @@ class MemoryContext : public
std::enable_shared_from_this<MemoryContext> {
mem_tracker_ = mem_tracker;
_user_set_mem_limit = mem_tracker_->limit();
_adjusted_mem_limit = mem_tracker_->limit();
+ if (_user_set_mem_limit > 0) {
+ _enable_check_mem_limit = true;
Review Comment:
这俩之间没啥必然的依赖关系,不能通过设置了user 的memlimit 就推导出 enable check memlimit来
--
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]