Support a size limit for object store primary storage backend
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Is your feature request related to a problem? Please describe.
When using an S3 bucket as primary storage, there is no way to set a size limit.
Describe the solution you'd like
An option in https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#configuration that allows to set a size limit for the bucket. Then this limit would be used to compute free space and stop uploading when the limit is reached.
Describe alternatives you've considered
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the primary storage configuration documentation linked in the issue and trace the S3 object-store backend and its upload and free-space handling. Define how the configured bucket limit is stored and calculated, then verify that free-space reporting reaches zero and uploads stop at the limit, with documentation covering the new option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- backend, cloud, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100