DarkAssassinator commented on code in PR #13013:
URL:
https://github.com/apache/dolphinscheduler/pull/13013#discussion_r1033548909
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.java:
##########
@@ -201,13 +203,25 @@ public void notify(Event event) {
}
private void syncSingleWorkerNodeInfo(String workerAddress,
WorkerHeartBeat info) {
+ if (!NetUtils.isLegalAddress(workerAddress)) {
Review Comment:
> I don't think this is needed. You don't need to check all things.
This step is not overly precautionary. Because registry Event will contain
intermediate nodes, such as `worker`. Please check the following screenshot.

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