spacemonkd opened a new pull request, #10268:
URL: https://github.com/apache/ozone/pull/10268

   ## What changes were proposed in this pull request?
   HDDS-15276. Prevent root path NU API call, improve warnings
   
   Please describe your PR in detail:
   Currently the Namespace Usage page by default fetches the root path 
information on page load.
   However on a large cluster deployment this can cause the page to crash or 
for the response to timeout and put pressure on the system while calculating 
the usage.
   
   This PR makes the following changes:
   - It does not load the root path when the namespace usage page is accessed, 
instead a button is shown to inform users that the data needs to be explicitly 
loaded
   - Upon clicking the button the user is provided further warning that this 
could be an expensive operation.
   - We also add additional warning notifications, and improve error handling 
for null data or API response failures
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-15276
   
   ## How was this patch tested?
   Patch was tested manually.
   
   
https://github.com/user-attachments/assets/0c850ff5-2562-4495-9de9-5d90015e69a2


-- 
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]

Reply via email to