nextcloud / nextcloud/server

Support a size limit for object store primary storage backend

Open
#53,795 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: object storage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.