You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "fuweng11 (via GitHub)" <gi...@apache.org> on 2023/04/27 07:43:55 UTC

[GitHub] [inlong] fuweng11 commented on a diff in pull request #7913: [INLONG-7912][Manager] Only issue normal DataProxy nodes

fuweng11 commented on code in PR #7913:
URL: https://github.com/apache/inlong/pull/7913#discussion_r1178751472


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/cluster/InlongClusterServiceImpl.java:
##########
@@ -1154,6 +1155,11 @@ public DataProxyNodeResponse getDataProxyNodes(String groupId, String protocolTy
         // TODO consider the data proxy load and re-balance
         List<DataProxyNodeInfo> nodeList = new ArrayList<>();
         for (InlongClusterNodeEntity nodeEntity : nodeEntities) {
+            if (Objects.equals(nodeEntity.getStatus(), NodeStatus.HEARTBEAT_TIMEOUT.getStatus())) {
+                LOGGER.debug("data proxy is heart time out by parentId={}, ip={}, port={}", nodeEntity.getParentId(),
+                        nodeEntity.getIp(), nodeEntity.getPort());

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: commits-unsubscribe@inlong.apache.org

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