minio / mc

Simple | Fast tool to manage MinIO clusters :cloud:
https://min.io/download
GNU Affero General Public License v3.0
2.84k stars 543 forks source link

docs: explain scanner bucket quota check process #5011

Closed feorlen closed 2 months ago

feorlen commented 2 months ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

Proposed addition to mc quota set help to clarify that bucket quotas are only checked at the time of a scanner pass. Discussion on what exactly this text should say is very welcome.

Motivation and Context

The current docs (mc help, web) don't describe the role of the scanner in determining the quota status. Since the scanner only runs periodically, a bucket can exceed its quota until the next scanner pass notices.

In my opinion we should also not describe this as a "hard quota." That suggests MinIO will never allow writes beyond the configured quota, which is incorrect.

How to test this PR?

Docs only change (mc quota set help text)

Types of changes

Checklist:

feorlen commented 2 months ago

@klauspost @allanrogerr @zveinn some ideas for additional mc quota set help about the scanner and bucket quota enforcement.