mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05: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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user