xinyiZzz commented on code in PR #50292:
URL: https://github.com/apache/doris/pull/50292#discussion_r2062484869
##########
be/src/vec/common/allocator.cpp:
##########
@@ -138,10 +132,10 @@ void Allocator<clear_memory_, mmap_populate, use_mmap,
MemoryAllocator>::sys_mem
doris::GlobalMemoryArbitrator::refresh_interval_memory_growth += size;
break;
}
- if (doris::thread_context()
- ->resource_ctx()
- ->task_controller()
- ->is_cancelled()) {
+ if (!doris::thread_context()->is_attach_task() ||
doris::thread_context()
Review Comment:
done
##########
be/src/vec/common/allocator.cpp:
##########
@@ -209,7 +191,10 @@ void Allocator<clear_memory_, mmap_populate, use_mmap,
MemoryAllocator>::memory_
return;
}
#endif
- if (doris::thread_context()->thread_mem_tracker_mgr->skip_memory_check !=
0) {
+ if (doris::thread_context()->thread_mem_tracker_mgr->skip_memory_check !=
0 ||
+ !doris::thread_context()
Review Comment:
done
--
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]