You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by yx...@apache.org on 2024/12/10 06:55:36 UTC

(shardingsphere) branch master updated: Log the necessary cluster persist exception (#33987)

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

yx9o pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 7df9e25023b Log the necessary cluster persist exception (#33987)
7df9e25023b is described below

commit 7df9e25023bb630d290b4b48ef27e73a2084f27b
Author: Haoran Meng <me...@gmail.com>
AuthorDate: Tue Dec 10 14:55:30 2024 +0800

    Log the necessary cluster persist exception (#33987)
---
 .../repository/cluster/zookeeper/handler/ZookeeperExceptionHandler.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mode/type/cluster/repository/provider/zookeeper/src/main/java/org/apache/shardingsphere/mode/repository/cluster/zookeeper/handler/ZookeeperExceptionHandler.java b/mode/type/cluster/repository/provider/zookeeper/src/main/java/org/apache/shardingsphere/mode/repository/cluster/zookeeper/handler/ZookeeperExceptionHandler.java
index d04bc5aca18..275d51feb12 100644
--- a/mode/type/cluster/repository/provider/zookeeper/src/main/java/org/apache/shardingsphere/mode/repository/cluster/zookeeper/handler/ZookeeperExceptionHandler.java
+++ b/mode/type/cluster/repository/provider/zookeeper/src/main/java/org/apache/shardingsphere/mode/repository/cluster/zookeeper/handler/ZookeeperExceptionHandler.java
@@ -51,6 +51,7 @@ public final class ZookeeperExceptionHandler {
             log.info("InterruptedException caught");
             Thread.currentThread().interrupt();
         } else {
+            log.error("Zookeeper exception occured.", cause);
             throw new ClusterRepositoryPersistException(cause);
         }
     }