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 8f1c1efa1292..a84a99eac45f 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 @@ private 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 ee2b79cdff29..a8286b6fe50b 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 @@ private 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 3544f6866244..8bdd08b101e4 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 void loadProperties(TrimProperties properties) throws BadNodeUrlException 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 fdf799432554..05ff507226d0 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