feat: quotas #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement per-key quotas to limit the amount of disk space each key can use.
The minio admin API has quota abilities, however, minio-rs does not implement it (some existing old unmerged PRs). So at best, it could only be set with some backend running script that runs the
mccommand, which isn't super ideal. Should try to KISS and optimize later.Alternatively, maybe the server could have some central storage (S3SQL?) for keeping track of all buckets' state. It would need to be updated on every upload. Or better yet, maybe just store a
_stats.jsonfile in each bucket to keep track of its own storage written by the server upon upload.Server-wide stats file might be useful, but also could be a potential denial of service if all uploads are forced to wait for exclusive write to the central stats object.
Ref