DarkAssassinator commented on code in PR #13013:
URL:
https://github.com/apache/dolphinscheduler/pull/13013#discussion_r1034798783
##########
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:
after i rollback this validator, i updated the worker path check function,
just exclude the `/node/worker`. becasue registry may raise
`{path:/node/worker, data:null}` event.
--
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]