Skip to content

Commit a7cc134

Browse files
committed
fix compile
1 parent 5171ce4 commit a7cc134

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private void loadProps() {
146146
}
147147
}
148148

149-
private void loadProperties(TrimProperties properties) throws BadNodeUrlException {
149+
private void loadProperties(TrimProperties properties) throws BadNodeUrlException, IOException {
150150
ConfigurationFileUtils.updateAppliedProperties(properties, false);
151151
conf.setClusterName(properties.getProperty(IoTDBConstant.CLUSTER_NAME, conf.getClusterName()));
152152

iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/ConfigurationFileUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ public static Map<String, DefaultConfigurationItem> getConfigurationItemsFromTem
399399
key,
400400
new DefaultConfigurationItem(
401401
key, value, withDesc ? description.toString().trim() : null, effectiveMode));
402+
description = new StringBuilder();
403+
effectiveMode = null;
404+
independentLines.clear();
402405
}
403406
}
404407
} catch (IOException e) {

0 commit comments

Comments
 (0)