-
Notifications
You must be signed in to change notification settings - Fork 26
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
Calculate storage use #6614
Comments
Do you think it is fair to rely on |
I guess |
A few more questions have come up
|
I don't see why it is harder to manage on a per-mag basis. Aggregating to by-dataset or by-datastore is just a simple SQL query.
Temp data should not count against the storage quota and does not need to be counted. |
Detailed Description
In order to implement storage quotas, we need to capture the storage use of datasets on-disk. I would suggest to calculate that on import and perhaps as a regular cron job. I think it would be useful to store the storage use on a mag-level.
The aggregated storage use per organization needs to be exposed via an API so that the frontend can display it in the organization page and use it to enforce upload blocks.
Remote datasets and symlinked layers should not be counted towards the storage quota.
The text was updated successfully, but these errors were encountered: