wenzhenghu commented on code in PR #60567:
URL: https://github.com/apache/doris/pull/60567#discussion_r3127796320


##########
be/src/runtime/workload_management/query_task_controller.cpp:
##########
@@ -212,4 +212,22 @@ std::vector<PipelineTask*> 
QueryTaskController::get_revocable_tasks() {
     return tasks;
 }
 
+int QueryTaskController::get_total_task_num() const {
+    // Read task-level total counter from query context for external 
statistics reporting.
+    auto query_ctx = query_ctx_.lock();
+    if (query_ctx == nullptr) {
+        return 0;

Review Comment:
   已修改



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