From 1666693a12fa57a3367b0b43104e663ad3cd0050 Mon Sep 17 00:00:00 2001 From: Wenjun Ruan Date: Mon, 6 May 2024 12:17:59 +0800 Subject: [PATCH] Remove log --- .../dolphinscheduler/registry/api/ha/AbstractHAServer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/dolphinscheduler-registry/dolphinscheduler-registry-api/src/main/java/org/apache/dolphinscheduler/registry/api/ha/AbstractHAServer.java b/dolphinscheduler-registry/dolphinscheduler-registry-api/src/main/java/org/apache/dolphinscheduler/registry/api/ha/AbstractHAServer.java index 1830ce36df20..5dca5552b325 100644 --- a/dolphinscheduler-registry/dolphinscheduler-registry-api/src/main/java/org/apache/dolphinscheduler/registry/api/ha/AbstractHAServer.java +++ b/dolphinscheduler-registry/dolphinscheduler-registry-api/src/main/java/org/apache/dolphinscheduler/registry/api/ha/AbstractHAServer.java @@ -53,7 +53,6 @@ public void start() { if (Event.Type.REMOVE.equals(event.type())) { if (isActive() && !participateElection()) { statusChange(ServerStatus.STAND_BY); - log.info("The current server has been removed from the registry, change the status to STAND_BY."); } } }); @@ -65,7 +64,6 @@ public void start() { } if (participateElection()) { statusChange(ServerStatus.ACTIVE); - log.info("The current server has been elected as the active server, change the status to ACTIVE."); } }, 10, TimeUnit.SECONDS); }