From 1efa85ca27209772ebbb5efbaead036fb33815c0 Mon Sep 17 00:00:00 2001 From: xiangzihao <460888207@qq.com> Date: Fri, 24 Dec 2021 11:40:21 +0800 Subject: [PATCH] [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 --- .../server/master/registry/MasterRegistryClient.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java index 67c8e94d17..58a0b6a3fe 100644 --- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java +++ b/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);