yiguolei commented on code in PR #38701:
URL: https://github.com/apache/doris/pull/38701#discussion_r1701492089


##########
be/src/exec/schema_scanner/schema_processlist_scanner.cpp:
##########
@@ -56,9 +56,14 @@ Status SchemaProcessListScanner::start(RuntimeState* state) {
     TShowProcessListRequest request;
     request.__set_show_full_sql(true);
 
-    
RETURN_IF_ERROR(SchemaHelper::show_process_list(*(_param->common_param->ip),
-                                                    
_param->common_param->port, request,
-                                                    &_process_list_result));
+    for (const auto& fe_ip : _param->common_param->fe_ip_list) {
+        TShowProcessListResult tmp_ret;
+        RETURN_IF_ERROR(SchemaHelper::show_process_list(fe_ip, 
_param->common_param->port, request,

Review Comment:
   不是所有的fe的port 都一样的



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to