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

haonan 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 bbbf774d661 Fix time partition interval bug (#10019)
bbbf774d661 is described below

commit bbbf774d6617f7ab8b436318402dac306d657ea5
Author: Marcos_Zyk <[email protected]>
AuthorDate: Thu Jun 1 18:00:31 2023 +0800

    Fix time partition interval bug (#10019)
---
 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 be0df79e585..7d3093d1ba0 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
@@ -1078,10 +1078,6 @@ public class IoTDBDescriptor {
     // author cache
     loadAuthorCache(properties);
 
-    conf.setTimePartitionInterval(
-        DateTimeUtils.convertMilliTimeWithPrecision(
-            conf.getTimePartitionInterval(), conf.getTimestampPrecision()));
-
     conf.setQuotaEnable(
         Boolean.parseBoolean(
             properties.getProperty("quota_enable", 
String.valueOf(conf.isQuotaEnable()))));

Reply via email to