This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new d76be1315f [BUG]storage_min_left_capacity_bytes default value has 
integer overflow #19943
d76be1315f is described below

commit d76be1315f569f264a58746f8b16d0fd1daad14a
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 3573426f0b..7b56b39714 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
@@ -772,7 +772,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

Reply via email to