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/26 09:18:56 UTC
[iotdb] branch disable_time_partition_on_datanode created (now c00a28e049)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch disable_time_partition_on_datanode
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at c00a28e049 Turn off time partition on data node
This branch includes the following new commits:
new c00a28e049 Turn off time partition on data node
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: Turn off time partition on data node
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch disable_time_partition_on_datanode
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit c00a28e0490c4ccdb1f9c8d63aa2abc6ec5651bf
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Aug 26 17:18:42 2022 +0800
Turn off time partition on data node
---
.../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