mirror of
https://github.com/minio/minio.git
synced 2025-03-12 20:50:11 -04: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…
x
Reference in New Issue
Block a user