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

HDDS-12042. Fix capacity count for cluster capacity card. #7666

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devabhishekpal
Copy link
Contributor

What changes were proposed in this pull request?

HDDS-12042. Fix capacity count for cluster capacity card.

Please describe your PR in detail:

  • In the new vs old UI we have a discrepancy in the details of the cluster capacity card.

  • Mismatch between the Capacity report percentage:

    • In the new UI we are calculating the percentage for the Overview page storage guage chart by choosing the floor value.
    • In the old UI this is done as the rounded value.
    • We are changing the new UI to use the rounded value instead of floor.
  • Mismatch between the Pre-allocated size:

    • In the new UI we are making use of the committed field from the storage report response.
    • In the old UI we are not passing this value to StorageBar component, hence it is picking default value of 0.
    • We should change the old UI to make use of the committed size.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12042

How was this patch tested?

Patch was tested manually
Screenshot 2025-01-08 at 20 02 21
Screenshot 2025-01-08 at 20 02 41

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

Successfully merging this pull request may close these issues.

2 participants