Skip to content

Commit 85ced74

Browse files
committed
Set keepSameDiskWhenLoadingSnapshot default to true
1 parent 1d8b23a commit 85ced74

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ public class IoTDBConfig {
12181218

12191219
private boolean includeNullValueInWriteThroughputMetric = false;
12201220

1221-
private boolean keepSameDiskWhenLoadingSnapshot = false;
1221+
private boolean keepSameDiskWhenLoadingSnapshot = true;
12221222

12231223
private ConcurrentHashMap<String, EncryptParameter> tsFileDBToEncryptMap =
12241224
new ConcurrentHashMap<>(

iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ region_migration_speed_limit_bytes_per_second = 50331648
17031703
# This may reduce file copies but may also result in a worse disk load-balance
17041704
# effectiveMode: hot_reload
17051705
# Datatype: boolean
1706-
keep_same_disk_when_loading_snapshot=false
1706+
keep_same_disk_when_loading_snapshot=true
17071707

17081708
####################
17091709
### Blob Allocator Configuration

0 commit comments

Comments
 (0)