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

jiangtian 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 c30ad41ecac Reduce default mod file threshold for settle compaction 
(#12935)
c30ad41ecac is described below

commit c30ad41ecaceb5941d6e9ee62802c5ee2453689b
Author: Jiang Tian <[email protected]>
AuthorDate: Tue Jul 16 17:08:38 2024 +0800

    Reduce default mod file threshold for settle compaction (#12935)
---
 .../datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java    | 2 +-
 .../src/assembly/resources/conf/iotdb-system.properties.template        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index e9ff3a9b79a..daf6c535af5 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -553,7 +553,7 @@ public class IoTDBConfig {
    * When the size of the mods file corresponding to TsFile exceeds this 
value, inner compaction
    * tasks containing mods files are selected first.
    */
-  private volatile long innerCompactionTaskSelectionModsFileThreshold = 10 * 
1024 * 1024L;
+  private volatile long innerCompactionTaskSelectionModsFileThreshold = 128 * 
1024L;
 
   /**
    * When disk availability is lower than the sum of 
(disk_space_warning_threshold +
diff --git 
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
 
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
index 5635fa8cf71..279aa063b85 100644
--- 
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
+++ 
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
@@ -1310,7 +1310,7 @@ inner_compaction_task_selection_disk_redundancy=0.05
 # When the size of the mods file corresponding to TsFile exceeds this value, 
inner compaction tasks containing mods files are selected first.
 # effectiveMode: hot_reload
 # DataType: long
-inner_compaction_task_selection_mods_file_threshold=10485760
+inner_compaction_task_selection_mods_file_threshold=131072
 
 # The number of threads to be set up to select compaction task.
 # effectiveMode: hot_reload

Reply via email to