This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch enable_time_partition in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e6d5863a695edb217d2e3f52b8b12a9c444da0b5 Author: HTHou <[email protected]> AuthorDate: Wed Jul 27 16:55:47 2022 +0800 enable time partition by default --- server/src/assembly/resources/conf/iotdb-datanode.properties | 2 +- server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/assembly/resources/conf/iotdb-datanode.properties b/server/src/assembly/resources/conf/iotdb-datanode.properties index 66c8460c5c..3c15017353 100644 --- a/server/src/assembly/resources/conf/iotdb-datanode.properties +++ b/server/src/assembly/resources/conf/iotdb-datanode.properties @@ -1004,7 +1004,7 @@ timestamp_precision=ms # whether enable data partition. If disabled, all data belongs to partition 0 # Datatype: boolean -# enable_partition=false +# enable_partition=true # time range for partitioning data inside each storage group, the unit is second # Datatype: long 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 3df27bacd3..e161a1398f 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,7 +718,7 @@ public class IoTDBConfig { private int primitiveArraySize = 32; /** whether enable data partition. If disabled, all data belongs to partition 0 */ - private boolean enablePartition = false; + private boolean enablePartition = true; /** * Time range for partitioning data inside each storage group, the unit is second. Default time is
