SbloodyS commented on code in PR #15459:
URL: 
https://github.com/apache/dolphinscheduler/pull/15459#discussion_r1448249302


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.java:
##########
@@ -193,6 +194,16 @@ private void syncSingleWorkerNodeInfo(String 
workerAddress, WorkerHeartBeat info
                 workerNodeInfoWriteLock.unlock();
             }
         }
+
+        private void removeSingleWorkerNode(String workerAddress) {
+            workerNodeInfoWriteLock.lock();
+            try {
+                workerNodeInfo.remove(workerAddress);
+                log.info("remove work {} from workerNodeInfo when work server 
down", workerAddress);

Review Comment:
   ```suggestion
                   log.info("remove worker node {} from workerNodeInfo when 
worker server down", workerAddress);
   ```



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

Reply via email to