You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/08/26 14:48:34 UTC

[iotdb] branch master updated: Turn off time partition on data node (#7144)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new de822561f1 Turn off time partition on data node (#7144)
de822561f1 is described below

commit de822561f10779a73f6a2d48b4e6d178073f68c0
Author: Haonan <hh...@outlook.com>
AuthorDate: Fri Aug 26 22:48:26 2022 +0800

    Turn off time partition on data node (#7144)
---
 .../test/java/org/apache/iotdb/db/integration/IoTDBCheckConfigIT.java | 4 ++--
 server/src/assembly/resources/conf/iotdb-datanode.properties          | 2 +-
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java        | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/integration/src/test/java/org/apache/iotdb/db/integration/IoTDBCheckConfigIT.java b/integration/src/test/java/org/apache/iotdb/db/integration/IoTDBCheckConfigIT.java
index 605410b439..296693f718 100644
--- a/integration/src/test/java/org/apache/iotdb/db/integration/IoTDBCheckConfigIT.java
+++ b/integration/src/test/java/org/apache/iotdb/db/integration/IoTDBCheckConfigIT.java
@@ -70,10 +70,10 @@ public class IoTDBCheckConfigIT {
     console = System.out;
     System.setOut(new PrintStream(bytes));
 
-    systemProperties.put("partition_interval", "86400");
+    systemProperties.put("partition_interval", "9223372036854775807");
     systemProperties.put("timestamp_precision", "ms");
     systemProperties.put("tsfile_storage_fs", "LOCAL");
-    systemProperties.put("enable_partition", "true");
+    systemProperties.put("enable_partition", "false");
     systemProperties.put("max_degree_of_index_node", "256");
     systemProperties.put("tag_attribute_total_size", "700");
     systemProperties.put("iotdb_version", "0.13.0");
diff --git a/server/src/assembly/resources/conf/iotdb-datanode.properties b/server/src/assembly/resources/conf/iotdb-datanode.properties
index 07c3b9e661..def08b4787 100644
--- a/server/src/assembly/resources/conf/iotdb-datanode.properties
+++ b/server/src/assembly/resources/conf/iotdb-datanode.properties
@@ -1021,7 +1021,7 @@ timestamp_precision=ms
 
 # whether enable data partition. If disabled, all data belongs to partition 0
 # Datatype: boolean
-# enable_partition=true
+# enable_partition=false
 
 # 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 f46de58663..fda9580ef5 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
@@ -742,7 +742,7 @@ public class IoTDBConfig {
   private int primitiveArraySize = 32;
 
   /** whether enable data partition. If disabled, all data belongs to partition 0 */
-  private boolean enablePartition = true;
+  private boolean enablePartition = false;
 
   /**
    * Time range for partitioning data inside each storage group, the unit is second. Default time is