[BUG]storage_min_left_capacity_bytes default value has integer overflow #19943
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user