mirror of
https://github.com/minio/minio
synced 2024-09-06 08:44:03 +00:00
Allow writes for bucket exceeding FIFO quota (#9575)
the quota will be enforced while deleting oldest entries in FIFO manner.
This commit is contained in:
parent
c19ece6921
commit
fe8d33452b
|
@ -155,6 +155,9 @@ func enforceBucketQuota(ctx context.Context, bucket string, size int64) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
if q.Type == madmin.FIFOQuota {
|
||||
return nil
|
||||
}
|
||||
return globalBucketStorageCache.check(ctx, q, bucket, size)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue