-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat(ObjectStore): Add option to limit the total size #54797
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
Conversation
81a91a6 to
1df09c1
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
Fixed the size propagation in #54950 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was expecting to feed this into IStorage::free_space instead of adding our own check.
But I’m not sure whether that would work as expected?
|
Oh that's also a good idea, I didn't consider that 😅 |
Signed-off-by: provokateurin <[email protected]>
1df09c1 to
98081df
Compare
|
Possible performance regression detected Show Output |
|
Possible performance regression detected Show Output |
come-nc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean.
Were you able to test it?
Yes, tested with some simple limits. |
AndyScherzinger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
Some object stores might bill you more once the size is over a certain limits, so admins might want to prevent that case.