quota-exceeded
The write would pass the tenant's storage quota
- Type
https://vcon-server.com/problems/quota-exceeded- Status
- 507
- Title
- The write would pass the tenant's storage quota
When
A store (POST /vcons) or a replace (PUT /vcons/{uuid}) would take the tenant past its storage quota, and nothing was kept. The quota is limits.quota.bytes or limits.quota.vcons in the configuration (see tenant limits). The problem's members say which quota and how far:
limit:"bytes"or"vcons".used: the tenant's usage of that quota before the write.quota: the quota.
A tenant's bytes are the bodies of every version it keeps, as they were sent: a replace adds its whole body, since the version it replaces is kept, and a deleted vCon counts until it is purged. Reads, lists, deletes, restores and legal holds still work at the quota. A store of the bytes a vCon already holds answers 200, as it always does, since it writes nothing.
What to do
Free room or ask for more. Versions are freed when they are purged, under the tenant's retention period, unless a legal hold keeps them. The operator can read each tenant's usage with vcon-server check, raise [limits.quota] and restart the server, or shorten the tenant's retention.
Source of this page: website/content/problems/quota-exceeded.md