This is an automated email from the ASF dual-hosted git repository.
xingtanzjr 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 e93d0fcaaa6 Set default compaction validation level to RESOURCE_ONLY
(#11278)
e93d0fcaaa6 is described below
commit e93d0fcaaa6a1c2b8f5b92b0f07db042b5e19958
Author: shuwenwei <[email protected]>
AuthorDate: Mon Oct 16 04:51:28 2023 -0500
Set default compaction validation level to RESOURCE_ONLY (#11278)
---
.../datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 3 ++-
.../node-commons/src/assembly/resources/conf/iotdb-common.properties | 2 +-
2 files changed, 3 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 6c9722ab1fd..ac016e7a878 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
@@ -522,7 +522,8 @@ public class IoTDBConfig {
*/
private int subCompactionTaskNum = 4;
- private CompactionValidationLevel compactionValidationLevel =
CompactionValidationLevel.NONE;
+ private CompactionValidationLevel compactionValidationLevel =
+ CompactionValidationLevel.RESOURCE_ONLY;
/** The size of candidate compaction task queue. */
private int candidateCompactionTaskQueueSize = 50;
diff --git
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-common.properties
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-common.properties
index cff20c83ffb..a01e9b90da4 100644
---
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-common.properties
+++
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-common.properties
@@ -673,7 +673,7 @@ timestamp_precision=ms
# 2. RESOURCE_ONLY: the validation after compaction check tsfile resource only.
# 3. RESOURCE_AND_TSFILE: the validation after compaction check resource and
file.
# Datatype: String
-# compaction_validation_level=NONE
+# compaction_validation_level=RESOURCE_ONLY
####################
### Write Ahead Log Configuration