You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/12/07 06:36:03 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #7335: [fix](forward) Avoid endless forward execution

morningman commented on a change in pull request #7335:
URL: https://github.com/apache/incubator-doris/pull/7335#discussion_r763677713



##########
File path: fe/fe-core/src/main/java/org/apache/doris/common/proc/FrontendsProcNode.java
##########
@@ -90,7 +92,12 @@ public static void getFrontendsInfo(Catalog catalog, List<List<String>> infos) {
         List<Pair<String, Integer>> allFeHosts = convertToHostPortPair(allFe);
         List<Pair<String, Integer>> helperNodes = catalog.getHelperNodes();
 
-        Pair<String, Integer> selfNode = Catalog.getCurrentCatalog().getSelfNode();
+        // Because the `shwo frontend` stmt maybe forwarded from other FE.

Review comment:
       ```suggestion
           // Because the `show frontend` stmt maybe forwarded from other FE.
   ```




-- 
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-unsubscribe@doris.apache.org

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



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