ruanwenjun commented on code in PR #18645:
URL:
https://github.com/apache/dolphinscheduler/pull/18645#discussion_r4024216854
##########
dolphinscheduler-registry/dolphinscheduler-registry-api/src/main/java/org/apache/dolphinscheduler/registry/api/ha/AbstractHAServer.java:
##########
@@ -51,24 +56,23 @@ public AbstractHAServer(final Registry registry, final
String selectorPath, fina
this.registry = registry;
this.selectorPath = checkNotNull(selectorPath);
this.serverIdentify = checkNotNull(serverIdentify);
Review Comment:
Don't need to add `electionIdentity`
##########
dolphinscheduler-registry/dolphinscheduler-registry-api/src/main/java/org/apache/dolphinscheduler/registry/api/ha/AbstractHAServer.java:
##########
@@ -51,24 +56,23 @@ public AbstractHAServer(final Registry registry, final
String selectorPath, fina
this.registry = registry;
this.selectorPath = checkNotNull(selectorPath);
this.serverIdentify = checkNotNull(serverIdentify);
Review Comment:
```suggestion
this.serverIdentify = checkNotNull(serverIdentify) + "#" +
System.currentTimeMillis();
```
--
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]