Skip to content
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

Use capacity of one byte as 'no quota' #159

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

kvaster
Copy link
Contributor

@kvaster kvaster commented Mar 29, 2024

Before transition to dynamic quota changes we had a choice to define no quota at all by creating static PV. Current implementation does not allow to set zero as capacity and as a result there is no way to setup no quota.

This PR brings some code comments and allows to use one-byte capacity as 'no quota'.

@chrislusf
Copy link
Contributor

Need to document this somewhere.

@chrislusf chrislusf merged commit f657740 into seaweedfs:master Mar 29, 2024
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants