This is an automated email from the ASF dual-hosted git repository.
jt2594838 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 373af669686 Set keepSameDiskWhenLoadingSnapshot default to true
(#17845)
373af669686 is described below
commit 373af669686e47764d3d1e3bd403e40c02383a17
Author: Zhenyu Luo <[email protected]>
AuthorDate: Thu Jun 4 18:32:23 2026 +0800
Set keepSameDiskWhenLoadingSnapshot default to true (#17845)
---
.../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 84fb1fef329..fec40a15150 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
@@ -1218,7 +1218,7 @@ public class IoTDBConfig {
private boolean includeNullValueInWriteThroughputMetric = false;
- private boolean keepSameDiskWhenLoadingSnapshot = false;
+ private boolean keepSameDiskWhenLoadingSnapshot = true;
private ConcurrentHashMap<String, EncryptParameter> tsFileDBToEncryptMap =
new ConcurrentHashMap<>(
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 531cbac91a8..3b2d5ff5473 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
@@ -1703,7 +1703,7 @@ region_migration_speed_limit_bytes_per_second = 50331648
# This may reduce file copies but may also result in a worse disk load-balance
# effectiveMode: hot_reload
# Datatype: boolean
-keep_same_disk_when_loading_snapshot=false
+keep_same_disk_when_loading_snapshot=true
####################
### Blob Allocator Configuration