This is an automated email from the ASF dual-hosted git repository. JackieTien97 pushed a commit to branch rc/2.0.10 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 383bcbf1616836d3e0920985b7b1dd38642bac78 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
