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>
xiangzihao 3 years ago
parent
commit
1efa85ca27

+ 1 - 2
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);