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 789cc6983f1 Modify initConfigManager() (#12452)
789cc6983f1 is described below
commit 789cc6983f1f3f80a439d35c3933e621f76d9113
Author: Li Yu Heng <[email protected]>
AuthorDate: Tue Apr 30 14:33:41 2024 +0800
Modify initConfigManager() (#12452)
---
.../main/java/org/apache/iotdb/confignode/service/ConfigNode.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/ConfigNode.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/ConfigNode.java
index b92918f58a5..f3985847386 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/ConfigNode.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/ConfigNode.java
@@ -297,10 +297,10 @@ public class ConfigNode implements ConfigNodeMBean {
x -> ThreadName.getThreadPoolTheThreadBelongs(x).name()));
}
- void initConfigManager() {
+ private void initConfigManager() {
try {
- configManager = new ConfigManager();
- } catch (IOException e) {
+ this.configManager = new ConfigManager();
+ } catch (Exception e) {
LOGGER.error("Can't start ConfigNode consensus group!", e);
stop();
}