You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by zy...@apache.org on 2023/04/17 12:24:19 UTC

[iotdb] branch rel/1.1 updated: [To rel/1.1] Fix time partition interval config load bug (#9634)

This is an automated email from the ASF dual-hosted git repository.

zyk pushed a commit to branch rel/1.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.1 by this push:
     new 90fcf39aac [To rel/1.1] Fix time partition interval config load bug (#9634)
90fcf39aac is described below

commit 90fcf39aacdd20b7e62f44e2a93d15761e44bc4e
Author: Marcos_Zyk <38...@users.noreply.github.com>
AuthorDate: Mon Apr 17 20:24:11 2023 +0800

    [To rel/1.1] Fix time partition interval config load bug (#9634)
---
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java | 4 ----
 1 file changed, 4 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 0010633da9..5b99924801 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
@@ -1022,10 +1022,6 @@ public class IoTDBDescriptor {
 
     // author cache
     loadAuthorCache(properties);
-
-    conf.setTimePartitionInterval(
-        DateTimeUtils.convertMilliTimeWithPrecision(
-            conf.getTimePartitionInterval(), conf.getTimestampPrecision()));
   }
 
   private void loadAuthorCache(Properties properties) {