Browse Source

[Fix-7534][Master] zookeeper failover error (#7562)

* fix bug_7534

* fix bug_7534

* fix bug_7534

* fix bug_7534

* fix bug_7534

* fix bug_7534

Co-authored-by: SbloodyS <sbloodys@qq.com>
3.0.0/version-upgrade
xiangzihao 3 years ago committed by GitHub
parent
commit
1efa85ca27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java

3
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java

@ -427,8 +427,7 @@ public class MasterRegistryClient {
logger.debug("registry connection state is {}", state);
break;
case SUSPENDED:
logger.warn("registry connection state is {}, ready to stop myself", state);
registryClient.getStoppable().stop("registry connection state is SUSPENDED, stop myself");
logger.warn("registry connection state is {}, ready to retry connection", state);
break;
case RECONNECTED:
logger.debug("registry connection state is {}, clean the node info", state);

Loading…
Cancel
Save