This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit edf982e26b4a3f654010afb6fa0bd4d4f6b3ae10 Author: Long Zhao <294514...@qq.com> AuthorDate: Mon May 29 19:50:31 2023 +0800 [BUG]storage_min_left_capacity_bytes default value has integer overflow #19943 --- fe/fe-common/src/main/java/org/apache/doris/common/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java index 6d561df1ce..796c5eca0f 100644 --- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java +++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java @@ -1008,7 +1008,7 @@ public class Config extends ConfigBase { @ConfField(mutable = true, masterOnly = true) public static int storage_high_watermark_usage_percent = 85; @ConfField(mutable = true, masterOnly = true) - public static long storage_min_left_capacity_bytes = 2 * 1024 * 1024 * 1024; // 2G + public static long storage_min_left_capacity_bytes = 2 * 1024 * 1024 * 1024L; // 2G /** * If capacity of disk reach the 'storage_flood_stage_usage_percent' and 'storage_flood_stage_left_capacity_bytes', --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org