You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by yo...@apache.org on 2023/06/21 08:37:18 UTC
[iotdb] branch system-properties-patch created (now ec6ae48a7fa)
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a change to branch system-properties-patch
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at ec6ae48a7fa Fixed
This branch includes the following new commits:
new ec6ae48a7fa Fixed
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: Fixed
Posted by yo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch system-properties-patch
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit ec6ae48a7faa07e7915726fa7137c473fb5d76b7
Author: YongzaoDan <53...@qq.com>
AuthorDate: Wed Jun 21 16:37:07 2023 +0800
Fixed
---
.../main/java/org/apache/iotdb/commons/conf/CommonDescriptor.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonDescriptor.java b/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonDescriptor.java
index 2ab38b9dbb4..7dd417d5b3b 100644
--- a/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonDescriptor.java
+++ b/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonDescriptor.java
@@ -229,6 +229,11 @@ public class CommonDescriptor {
Integer.parseInt(
properties.getProperty(
"tag_attribute_total_size", String.valueOf(config.getTagAttributeTotalSize()))));
+
+ config.setTimePartitionInterval(
+ Long.parseLong(
+ properties.getProperty(
+ "time_partition_interval", String.valueOf(config.getTimePartitionInterval()))));
}
private void loadPipeProps(Properties properties) {