You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/08/29 10:51:02 UTC

[iotdb] branch fix_cannot_restart created (now 3b98a4a12d)

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

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


      at 3b98a4a12d Fix datanode cannot restart

This branch includes the following new commits:

     new 3b98a4a12d Fix datanode cannot restart

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: Fix datanode cannot restart

Posted by ha...@apache.org.
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 <hh...@outlook.com>
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()) {