Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[to dev/1.3] Adjust default wal_throttle_threshold_in_byte and region_migration_speed_limit_bytes_per_second (CP 14653) #14756

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ public class IoTDBConfig {
private int driverTaskExecutionTimeSliceInMs = 200;

/** Maximum size of wal buffer used in IoTConsensus. Unit: byte */
private long throttleThreshold = 50 * 1024 * 1024 * 1024L;
private long throttleThreshold = 200 * 1024 * 1024 * 1024L;

/** Maximum wait time of write cache in IoTConsensus. Unit: ms */
private long cacheWindowTimeInMs = 10 * 1000L;
Expand Down Expand Up @@ -1128,7 +1128,7 @@ public class IoTDBConfig {
private int maxSizePerBatch = 16 * 1024 * 1024;
private int maxPendingBatchesNum = 5;
private double maxMemoryRatioForQueue = 0.6;
private long regionMigrationSpeedLimitBytesPerSecond = 32 * 1024 * 1024L;
private long regionMigrationSpeedLimitBytesPerSecond = 48 * 1024 * 1024L;

// PipeConsensus Config
private int pipeConsensusPipelineSize = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1442,10 +1442,10 @@ delete_wal_files_period_in_ms=20000

# The minimum size of wal files when throttle down in IoTConsensus
# If this value is not set, it will be carefully chosen according to the available disk space.
# If this value is set smaller than 0, it will default to 50 * 1024 * 1024 * 1024 bytes (50GB).
# If this value is set smaller than 0, it will default to 200 * 1024 * 1024 * 1024 bytes (200GB).
# effectiveMode: hot_reload
# Datatype: long
wal_throttle_threshold_in_byte=53687091200
wal_throttle_threshold_in_byte=214748364800

# Maximum wait time of write cache in IoTConsensus
# If this value is less than or equal to 0, use the default value 10 * 1000 ms (10s)
Expand Down Expand Up @@ -1489,7 +1489,7 @@ data_region_iot_max_memory_ratio_for_queue = 0.6
# values less than or equal to 0 means no limit
# effectiveMode: hot_reload
# Datatype: long
region_migration_speed_limit_bytes_per_second = 33554432
region_migration_speed_limit_bytes_per_second = 50331648

####################
### Blob Allocator Configuration
Expand Down
Loading