mc
mc copied to clipboard
Deprecate `mc quota` and subcommands
Bucket quotas, managed with mc quota
and subcommands, don't work like the common understanding of the concept of a quota. Since they rely on the object scanner to identify when a bucket is over quota, they cannot be strictly enforced in the way "hard quota" suggests.
The bucket could go over the configured size between scanner passes and mc quota
does not have a mechanism to resolve an overage. This feature was intended as a failsafe against something running amok, not a meaningful tool for managing bucket size.
Per @harshavardhana this should be deprecated. It already is in the web docs. In the future, similar functionality will be available as part of Enterprise Catalog.
Related discussions at: https://github.com/minio/mc/pull/5011 https://github.com/minio/mc/pull/5012 https://github.com/minio/docs/pull/1294