wangbo commented on code in PR #50817:
URL: https://github.com/apache/doris/pull/50817#discussion_r2128901152


##########
be/src/runtime/load_channel.cpp:
##########
@@ -59,7 +59,9 @@ LoadChannel::LoadChannel(const UniqueId& load_id, int64_t 
timeout_s, bool is_hig
         _resource_ctx->memory_context()->set_mem_tracker(mem_tracker);
         WorkloadGroupPtr wg_ptr = nullptr;
         if (wg_id > 0) {
-            wg_ptr = 
ExecEnv::GetInstance()->workload_group_mgr()->get_group(wg_id);
+            std::vector<uint64_t> id_set;
+            id_set.push_back(wg_id);
+            wg_ptr = 
ExecEnv::GetInstance()->workload_group_mgr()->get_group(id_set);

Review Comment:
   相当于resource ctx里就没设置了,resource ctx如果要用wg,就必须set一次



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

Reply via email to