You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ma...@apache.org on 2022/12/06 07:10:51 UTC

[iotdb] 01/01: set fast compaction as default compaction performer

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

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

commit 76774407c7fe484a3c871e464677024729395fa6
Author: Liu Xuxin <li...@outlook.com>
AuthorDate: Tue Dec 6 15:10:31 2022 +0800

    set fast compaction as default compaction performer
---
 node-commons/src/assembly/resources/conf/iotdb-common.properties | 4 ++--
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/node-commons/src/assembly/resources/conf/iotdb-common.properties b/node-commons/src/assembly/resources/conf/iotdb-common.properties
index d932a8e9f3..9304faf4b4 100644
--- a/node-commons/src/assembly/resources/conf/iotdb-common.properties
+++ b/node-commons/src/assembly/resources/conf/iotdb-common.properties
@@ -541,7 +541,7 @@
 
 # the compaction performer of cross space compaction task
 # Options: read_point, fast (under test)
-# cross_performer=read_point
+# cross_performer=fast
 
 # the selector of inner sequence space compaction task
 # Options: size_tiered
@@ -557,7 +557,7 @@
 
 # the performer of inner unsequence space compaction task
 # Options: read_point, fast (under test)
-# inner_unseq_performer=read_point
+# inner_unseq_performer=fast
 
 # The priority of compaction execution
 # INNER_CROSS: prioritize inner space compaction, reduce the number of files first
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 bf77df1972..fa6c856dfb 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
@@ -419,7 +419,7 @@ public class IoTDBConfig {
       InnerUnsequenceCompactionSelector.SIZE_TIERED;
 
   private InnerUnseqCompactionPerformer innerUnseqCompactionPerformer =
-      InnerUnseqCompactionPerformer.READ_POINT;
+      InnerUnseqCompactionPerformer.FAST;
 
   /**
    * The strategy of cross space compaction task. There are just one cross space compaction strategy
@@ -427,7 +427,7 @@ public class IoTDBConfig {
    */
   private CrossCompactionSelector crossCompactionSelector = CrossCompactionSelector.REWRITE;
 
-  private CrossCompactionPerformer crossCompactionPerformer = CrossCompactionPerformer.READ_POINT;
+  private CrossCompactionPerformer crossCompactionPerformer = CrossCompactionPerformer.FAST;
 
   /**
    * The priority of compaction task execution. There are three priority strategy INNER_CROSS: