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 <[email protected]> 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,
