Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Make a possibility to use the rest of space that remained in a collection #156

Closed
blackandred opened this issue May 16, 2021 · 1 comment
Labels
component/quota Things related to space allocation, backup rotation FEATURE

Comments

@blackandred
Copy link
Contributor

image

Given I have "MAX OVERALL COLLECTION SIZE" at 400 MB
And I have "MAX ONE VERSION SIZE" at "150 MB
And I have "MAX BACKUPS COUNT" at 2x

When I upload first file of size 150 MB
And I upload second file of size 200 MB
Then I expect success, because the missing 50 MB will be taken from buffer that could be calculated by formula (MAX OVERALL COLLECTION SIZE - (MAX ONE VERSION SIZE * MAX BACKUPS COUNT))
@blackandred blackandred changed the title [Server] Make a possibility to use the rest of space that remained in a collection Make a possibility to use the rest of space that remained in a collection Feb 5, 2022
@blackandred blackandred added the component/quota Things related to space allocation, backup rotation label Feb 5, 2022
@blackandred
Copy link
Contributor Author

blackandred commented Feb 22, 2022

Implemented as part of #164

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component/quota Things related to space allocation, backup rotation FEATURE
Projects
None yet
Development

No branches or pull requests

1 participant