-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Allow to estimate free space when using object storage #33221
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
d7d6d1a
to
01742d9
Compare
Possible performance regression detected Show Output
|
01742d9
to
8219813
Compare
doesn't it overlap with the |
|
sounds like a good idea would still like to have another opinion in case of side effects @icewind1991 @juliushaertl |
d69be12
to
d2a25d3
Compare
… quota If the object storage backend doesn't return quota or used bytes information, use a config override for the quota and count the size used in Nextcloud instead. Signed-off-by: Thomas Citharel <[email protected]>
d2a25d3
to
dd510df
Compare
The Instance Quota app is a fork of the Group Quota app allowing to simply define a quota for the whole server instance, though keeping individual user quotas in account. It is a better way to handle things than the PR given at nextcloud/server#33221 Link to repository: https://framagit.org/framasoft/nextcloud/instance_quota Signed-off-by: Thomas Citharel <[email protected]>
Closing this pull request due to lack of recent activity and updates. We appreciate your contribution and encourage you to reopen or provide further updates if necessary. |
With ObjectStorage there's no way to determine the free space for a bucket with a limited storage quota, so it's hard to detect when you have a space issue (there's nothing like
disk_free_space
).It would be better if the object storage provider would provide us this information, but at least for S3 it's hard or impossible to get this information easily, so this can be an appropriate workaround in the meanwhile.
Using an AppConfig instead of a SystemConfig might be more flexible for admins to change the value, but it might also introduce a database overhead.When using the
Local
storage regulardisk_free_space
is used instead.Still need to check if and how this affects external storages.