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

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

commit 3b98a4a12df18dabcab9e4fa056f13c2266052f5
Author: HTHou <[email protected]>
AuthorDate: Mon Aug 29 18:50:42 2022 +0800

    Fix datanode cannot restart
---
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBStartCheck.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBStartCheck.java 
b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBStartCheck.java
index 17a34ef9ce..ce6ec46351 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBStartCheck.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBStartCheck.java
@@ -486,10 +486,6 @@ public class IoTDBStartCheck {
         properties.setProperty(
             SCHEMA_REGION_CONSENSUS_PROTOCOL, 
globalConfig.getSchemaRegionConsensusProtocolClass());
       }
-      properties.setProperty(
-          PARTITION_INTERVAL_STRING, 
String.valueOf(globalConfig.timePartitionInterval));
-      properties.setProperty(
-          PARTITION_INTERVAL_STRING, 
String.valueOf(globalConfig.timePartitionInterval));
       properties.store(tmpFOS, SYSTEM_PROPERTIES_STRING);
       // serialize finished, delete old system.properties file
       if (propertiesFile.exists()) {

Reply via email to