1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00
Files
docs/source/reference/deprecated/mc-quota.rst
Andrea Longo 5865c3b93d deprecate mc quota (#1294)
Bucket quotas don't work the way people think they work, as they cannot
enforce hard limits. Deprecate in docs while we sort out what to do with
the commands.

The future replacement is MinIO Enterprise Catalog.

Staged:

http://192.241.195.202:9000/staging/deprecate-bucket-quota/linux/reference/minio-mc-deprecated.html

See:
https://github.com/minio/mc/pull/5011
https://github.com/minio/mc/pull/5012
2024-08-08 14:58:54 -06:00

2.0 KiB

mc quota

minio

Table of Contents

mc quota

RELEASE.2024-07-31T15-58-33Z

mc quota and its subcommands are deprecated.

Description

The mc quota commands configure, display, or remove a quota limit on a bucket.

When a bucket with a quota configured reaches the specified limit, as determined by the MinIO object scanner, MinIO rejects further PUT requests for the bucket.

Each time the MinIO object scanner <minio-lifecycle-management-scanner> scans a bucket for pending object lifecycle transitions <minio-lifecycle-management>, it also checks if the bucket has exceeded a configured quota.

Quota enforcement is not immediate

Bucket quotas are not intended to enforce a strict hard limit on a bucket's size. If a bucket exceeds its quota between scanner passes, MinIO continues to accept PUT requests for that bucket until after_ the next scanner pass identifies the quota violation.

Subcommands

mc quota includes the following subcommands:

Subcommand Description
~mc quota clear
~mc quota info
~mc quota set

/reference/deprecated/mc-quota-clear /reference/deprecated/mc-quota-info /reference/deprecated/mc-quota-set