-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofenhancementfeature: object storage
Description
Problem
- the vendors of object stores give out a recommendation the maximum number of objects per bucket
- Nextcloud should respect those limits and if a bucket is close to this value it should not put more files into it
- new files should be put into a newly created bucket
- multibucket setups should be able to be marked as "extensible" - so there is a default bucket count and as it's capacity of a bucket is reached then a new bucket is created
Things to keep in mind
- we should look into storing the bucket a file is located in instead of calculate it on the fly:
- instead of having this implicitly (calculating the hash and have a formula in which bucket this hash goes) we should store the result in the database so we can move different files that would be in the same bucket can also be moved based on the amount of files in the bucket
- what about a migration? this would allow to rebalance buckets that are already over this limit and misbehave for that reason
@rullzer @kesselb @icewind1991 Feedback and ideas are welcome.
solracsf and xplosionmindxplosionmindxplosionmind
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofenhancementfeature: object storage