spacemonkd opened a new pull request, #10411: URL: https://github.com/apache/ozone/pull/10411
## What changes were proposed in this pull request? HDDS-15272. Add error handling for SCM failure in cluster capacity Please describe your PR in detail: Currently when SCM is down, the response gives -1 as the size for all the fields. The UI then shows this directly which is not an appropriate way to handle this failure in the UI. Below is the current UI: <img width="750" height="814" alt="image" src="https://github.com/user-attachments/assets/760ff101-ab28-49fc-b838-9aaf05462a32" /> The `-1` in the SCM field should be handled and the information should be conveyed to the user that something has gone wrong. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15272 ## How was this patch tested? Patch was tested manually. After the patch: <img width="749" height="572" alt="Screenshot 2026-06-02 at 16 00 52" src="https://github.com/user-attachments/assets/14a1d458-849e-4b5b-8132-36d5a67ce100" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
