This is an automated email from the ASF dual-hosted git repository.
HTHou 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 611b66aded0 Change
partition_table_recover_max_read_megabytes_per_second into
partition_table_recover_max_read_mb_per_sec (#18138)
611b66aded0 is described below
commit 611b66aded05db6aa91d566d6a7d90f03c862af1
Author: libo <[email protected]>
AuthorDate: Wed Jul 8 14:34:24 2026 +0800
Change partition_table_recover_max_read_megabytes_per_second into
partition_table_recover_max_read_mb_per_sec (#18138)
---
.../main/i18n/en/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java | 4 ++--
.../main/i18n/zh/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java | 2 +-
.../src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java | 5 ++---
.../src/assembly/resources/conf/iotdb-system.properties.template | 2 +-
4 files changed, 6 insertions(+), 7 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/i18n/en/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
b/iotdb-core/datanode/src/main/i18n/en/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
index 8f1c1efa129..a84a99eac45 100644
---
a/iotdb-core/datanode/src/main/i18n/en/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
+++
b/iotdb-core/datanode/src/main/i18n/en/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
@@ -1124,8 +1124,8 @@ public final class DataNodeMiscMessages {
public static final String
MISC_LOG_PARTITION_TABLE_RECOVER_WORKER_NUM_SHOULD_BE_GREATER_THAN_74A2512B =
"partition_table_recover_worker_num should be greater than 0, but
current value is {}, "
+ "ignore that and use the default value {}";
- public static final String
MISC_LOG_PARTITION_TABLE_RECOVER_MAX_READ_MEGABYTES_PER_SECOND_SHOULD_42BCDFBC =
- "partition_table_recover_max_read_megabytes_per_second should be greater
than 0, but current "
+ public static final String
MISC_LOG_PARTITION_TABLE_RECOVER_MAX_READ_MB_PER_SEC_SHOULD_42BCDFBC =
+ "partition_table_recover_max_read_mb_per_sec should be greater than 0,
but current "
+ "value is {}, ignore that and use the default value {}";
public static final String
MISC_LOG_THE_THROTTLE_THRESHOLD_PARAMS_IS_DEPRECATED_PLEASE_USE_AA0E8EC7 =
"The throttle threshold params: {} is deprecated, please use {}";
diff --git
a/iotdb-core/datanode/src/main/i18n/zh/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
b/iotdb-core/datanode/src/main/i18n/zh/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
index ee2b79cdff2..a8286b6fe50 100644
---
a/iotdb-core/datanode/src/main/i18n/zh/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
+++
b/iotdb-core/datanode/src/main/i18n/zh/org/apache/iotdb/db/i18n/DataNodeMiscMessages.java
@@ -1115,7 +1115,7 @@ public final class DataNodeMiscMessages {
+ "dn_max_client_count_for_each_node_in_client_manager。";
public static final String
MISC_LOG_PARTITION_TABLE_RECOVER_WORKER_NUM_SHOULD_BE_GREATER_THAN_74A2512B =
"partition_table_recover_worker_num 应大于 0,但当前值为 {},忽略该值并使用默认值 {}";
- public static final String
MISC_LOG_PARTITION_TABLE_RECOVER_MAX_READ_MEGABYTES_PER_SECOND_SHOULD_42BCDFBC =
+ public static final String
MISC_LOG_PARTITION_TABLE_RECOVER_MAX_READ_MB_PER_SEC_SHOULD_42BCDFBC =
"partition_table_recover_max_read_megabytes_per_second 应大于 0,但当前值为
{},忽略该值并使用默认值 {}";
public static final String
MISC_LOG_THE_THROTTLE_THRESHOLD_PARAMS_IS_DEPRECATED_PLEASE_USE_AA0E8EC7 =
"throttle threshold 参数 {} 已废弃,请使用 {}";
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index 3544f686624..8bdd08b101e 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -1163,12 +1163,11 @@ public class IoTDBDescriptor {
int partitionTableRecoverMaxReadMBsPerSecond =
Integer.parseInt(
properties.getProperty(
- "partition_table_recover_max_read_megabytes_per_second",
+ "partition_table_recover_max_read_mb_per_sec",
String.valueOf(conf.getPartitionTableRecoverMaxReadMBsPerSecond())));
if (partitionTableRecoverMaxReadMBsPerSecond <= 0) {
LOGGER.warn(
- DataNodeMiscMessages
-
.MISC_LOG_PARTITION_TABLE_RECOVER_MAX_READ_MEGABYTES_PER_SECOND_SHOULD_42BCDFBC,
+
DataNodeMiscMessages.MISC_LOG_PARTITION_TABLE_RECOVER_MAX_READ_MB_PER_SEC_SHOULD_42BCDFBC,
partitionTableRecoverMaxReadMBsPerSecond,
conf.getPartitionTableRecoverMaxReadMBsPerSecond());
partitionTableRecoverMaxReadMBsPerSecond =
conf.getPartitionTableRecoverMaxReadMBsPerSecond();
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 fdf79943255..05ff507226d 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
@@ -794,7 +794,7 @@ partition_table_recover_worker_num=10
# Limit the number of bytes read per second from a file, the unit is MB
# effectiveMode: restart
# Datatype: Integer
-partition_table_recover_max_read_megabytes_per_second=10
+partition_table_recover_max_read_mb_per_sec=10
####################
### Memory Control Configuration