This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 712f4c4671a Return when leader election waiting is interrupted (#11842)
712f4c4671a is described below
commit 712f4c4671a31720a9a1eb38a7248f768efed1b0
Author: Yongzao <[email protected]>
AuthorDate: Thu Jan 4 14:56:25 2024 +0800
Return when leader election waiting is interrupted (#11842)
---
.../java/org/apache/iotdb/confignode/manager/load/cache/LoadCache.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/LoadCache.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/LoadCache.java
index 8695ae9071e..e7900c7dbaa 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/LoadCache.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/LoadCache.java
@@ -561,6 +561,7 @@ public class LoadCache {
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
LOGGER.warn("Interrupt when wait for leader election", e);
+ return;
}
}