allow diskFillFraction to be 99% (#12879)

larger 4-8TiB sized disks would return
error prematurely even with sufficient
amount of disk space left, increase
diskFillFraction to 1%
This commit is contained in:
Harshavardhana
2021-08-04 15:23:39 -07:00
committed by GitHub
parent 4d8f81a992
commit b10f823907

View File

@@ -107,7 +107,7 @@ const (
maxBucketSSEConfigSize = 1 * humanize.MiByte
// diskFillFraction is the fraction of a disk we allow to be filled.
diskFillFraction = 0.95
diskFillFraction = 0.99
// diskAssumeUnknownSize is the size to assume when an unknown size upload is requested.
diskAssumeUnknownSize = 1 << 30