-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate mc quota #1294
deprecate mc quota #1294
Conversation
@@ -51,6 +51,22 @@ Table of Deprecated Commands | |||
- :mc-cmd:`mc ilm rule rm` | |||
- mc RELEASE.2022-12-24T15-21-38Z | |||
|
|||
* - ``mc quota`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not entirely sure what to do about mc quota
itself. There's important information there about how bucket quota works (and why it's not what people think it is). So I don't want to just drop its page.
Maybe put that information into the deprecated mc quota set
page instead? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, did the above so there's no mc quota
page under deprecated.
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 :ref:`object scanner <minio-lifecycle-management-scanner>` scans a bucket for pending :ref:`object lifecycle transitions <minio-lifecycle-management>`, it also checks if the bucket has exceeded a configured quota. | ||
|
||
.. admonition:: Quota enforcement is not immediate | ||
:class: note | ||
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New content here, which is hard to tell because GitHub thinks the whole page is "new"
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:
minio/mc#5011
minio/mc#5012