You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xu...@apache.org on 2022/03/17 07:15:02 UTC
[iotdb] 02/02: reopen idtable
This is an automated email from the ASF dual-hosted git repository.
xuekaifeng pushed a commit to branch xkf_fix_idtable_compaction
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 829b4abfcfac1f90b0181ca9617d2903bf2f8400
Author: 151250176 <15...@smail.nju.edu.cn>
AuthorDate: Thu Mar 17 15:13:35 2022 +0800
reopen idtable
---
.../org/apache/iotdb/db/conf/IoTDBDescriptor.java | 26 ++++++++++------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index 70448a1..b45f091 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -690,20 +690,18 @@ public class IoTDBDescriptor {
}
// id table related configuration
- // conf.setDeviceIDTransformationMethod(
- // properties.getProperty(
- // "device_id_transformation_method", conf.getDeviceIDTransformationMethod()));
-
- // conf.setEnableIDTable(
- // Boolean.parseBoolean(
- // properties.getProperty("enable_id_table",
- // String.valueOf(conf.isEnableIDTable()))));
-
- // conf.setEnableIDTableLogFile(
- // Boolean.parseBoolean(
- // properties.getProperty(
- // "enable_id_table_log_file",
- // String.valueOf(conf.isEnableIDTableLogFile()))));
+ conf.setDeviceIDTransformationMethod(
+ properties.getProperty(
+ "device_id_transformation_method", conf.getDeviceIDTransformationMethod()));
+
+ conf.setEnableIDTable(
+ Boolean.parseBoolean(
+ properties.getProperty("enable_id_table", String.valueOf(conf.isEnableIDTable()))));
+
+ conf.setEnableIDTableLogFile(
+ Boolean.parseBoolean(
+ properties.getProperty(
+ "enable_id_table_log_file", String.valueOf(conf.isEnableIDTableLogFile()))));
// mqtt
if (properties.getProperty(IoTDBConstant.MQTT_HOST_NAME) != null) {