You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/11/26 07:54:00 UTC

[iotdb] 01/01: Fix Compile error

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch FixCompile
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 9905badc1fbadf09b5878a2cd1778b530a2232be
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Sat Nov 26 15:53:47 2022 +0800

    Fix Compile error
---
 server/src/main/java/org/apache/iotdb/db/client/ConfigNodeClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/client/ConfigNodeClient.java b/server/src/main/java/org/apache/iotdb/db/client/ConfigNodeClient.java
index ac6cd0f99d..a8c0aeecf3 100644
--- a/server/src/main/java/org/apache/iotdb/db/client/ConfigNodeClient.java
+++ b/server/src/main/java/org/apache/iotdb/db/client/ConfigNodeClient.java
@@ -1643,7 +1643,7 @@ public class ConfigNodeClient
       } catch (TException e) {
         configLeader = null;
       }
-      reconnect();
+      waitAndReconnect();
     }
     throw new TException(MSG_RECONNECTION_FAIL);
   }