Allow writes for bucket exceeding FIFO quota (#9575)

the quota will be enforced while
deleting oldest entries in FIFO manner.
master
poornas 5 years ago committed by GitHub
parent c19ece6921
commit fe8d33452b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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)
}

Loading…
Cancel
Save