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

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


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

commit a6d1f5983d423079008a0638f2df7304904a2499
Author: Marcos_Zyk <[email protected]>
AuthorDate: Thu Jun 1 17:59:53 2023 +0800

    [To rel/1.2] Fix time partition interval config load bug (#10020)
---
 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