From a56899e13cf688d3c11449be05aee6d0780c9435 Mon Sep 17 00:00:00 2001 From: Andrea Longo Date: Wed, 7 Aug 2024 04:27:15 -0600 Subject: [PATCH] docs: explain scanner bucket quota check process (#5011) --- cmd/quota-set.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmd/quota-set.go b/cmd/quota-set.go index a49438ab..a8968872 100644 --- a/cmd/quota-set.go +++ b/cmd/quota-set.go @@ -50,12 +50,17 @@ USAGE: {{.HelpName}} TARGET [--size QUOTA] QUOTA - quota accepts human-readable case-insensitive number - suffixes such as "k", "m", "g" and "t" referring to the metric units KB, + Quota accepts human-readable case-insensitive number. + Suffixes such as "k", "m", "g" and "t" referring to the metric units KB, MB, GB and TB respectively. Adding an "i" to these prefixes, uses the IEC units, so that "gi" refers to "gibibyte" or "GiB". A "b" at the end is also accepted. Without suffixes the unit is bytes. + The MinIO object scanner checks a bucket's quota each time it is scanned. + If the scanner determines a bucket has met or exceeded its quota, MinIO + rejects subsequent object write requests until the scanner determines the + bucket no longer exceeds its quota. + FLAGS: {{range .VisibleFlags}}{{.}} {{end}}