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

If the upper limit is infinity, the reported storage doesn't have a unit #6987

Closed
philippotto opened this issue Apr 18, 2023 · 2 comments · Fixed by #7057
Closed

If the upper limit is infinity, the reported storage doesn't have a unit #6987

philippotto opened this issue Apr 18, 2023 · 2 comments · Fixed by #7057

Comments

@philippotto
Copy link
Member

philippotto commented Apr 18, 2023

Context

Current behavior

The organization page (http://localhost:9000/organizations/sample_organization) shows 0.0/infinity as the used storage even when multiple GB are in fact used. The reason for this is that apparently TB is chosen as a unit which is then rounded to 0.0.

image

Expected behavior

There should be a (sensible) unit. In the above scenario I would expect something like 5.5 / infinity GB or maybe 5.5 GB / infinity?

Hints for developing

The used storage can also be changed in the organizations sql table instead of trying to upload many datasets.

@dieknolle3333
Copy link
Contributor

dieknolle3333 commented May 8, 2023

in the code, the unit is changed based on the pricing plan. Are you aware of the initial reason for this distinction?

@philippotto
Copy link
Member Author

Yes, this is because of our pricing plan. The basic plan provides 50 GB, I think, and everything above is in the realms of TB or above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants