From fe8d33452bb922b5398f8d654e32ee1aa50765f4 Mon Sep 17 00:00:00 2001 From: poornas Date: Thu, 14 May 2020 15:18:24 -0700 Subject: [PATCH] Allow writes for bucket exceeding FIFO quota (#9575) the quota will be enforced while deleting oldest entries in FIFO manner. --- cmd/bucket-quota.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/bucket-quota.go b/cmd/bucket-quota.go index d5d7380dd..3144e1797 100644 --- a/cmd/bucket-quota.go +++ b/cmd/bucket-quota.go @@ -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) }