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/15 08:26:17 UTC

[iotdb] branch fix_datanode_cannot_restart created (now 7d1b966d74)

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

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


      at 7d1b966d74 fix datanode cannot restart

This branch includes the following new commits:

     new 7d1b966d74 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_datanode_cannot_restart
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 7d1b966d7421d96108d5c6999aad388f466e1c37
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Aug 15 16:26:00 2022 +0800

    fix datanode cannot restart
---
 server/src/assembly/resources/conf/iotdb-datanode.properties   | 2 +-
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/src/assembly/resources/conf/iotdb-datanode.properties b/server/src/assembly/resources/conf/iotdb-datanode.properties
index e7a9e4ccf6..95cffb349d 100644
--- a/server/src/assembly/resources/conf/iotdb-datanode.properties
+++ b/server/src/assembly/resources/conf/iotdb-datanode.properties
@@ -1025,7 +1025,7 @@ timestamp_precision=ms
 
 # time range for partitioning data inside each storage group, the unit is second
 # Datatype: long
-# partition_interval=604800
+# partition_interval=86400
 
 ####################
 ### Influx DB RPC Service Configuration
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 519fee203e..0929459035 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -718,9 +718,9 @@ public class IoTDBConfig {
 
   /**
    * Time range for partitioning data inside each storage group, the unit is second. Default time is
-   * a week.
+   * a day.
    */
-  private long partitionInterval = 604800;
+  private long partitionInterval = 86400;
 
   /**
    * Level of TimeIndex, which records the start time and end time of TsFileResource. Currently,