Sravani Revuri created HDDS-17074:
-------------------------------------

             Summary: [UI] Quota initializing state is not detected in 
Namespace Usage metadata
                 Key: HDDS-17074
                 URL: https://issues.apache.org/jira/browse/HDDS-17074
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Sravani Revuri
            Assignee: Sravani Revuri


In nuMetadata.tsx, the quota response is checked with quotaResponse.state === 
'INITIALIZING'. The /api/v1/namespace/quota endpoint returns status, not state, 
so the check never matches. As a result, the "quota is currently initializing" 
error is never shown, and the component treats the response as valid quota data.

Fix: Change quotaResponse.state to quotaResponse.status, matching the summary 
check above it. Add a test assertion that showDataFetchError is called with the 
quota-initializing message when /namespace/quota returns INITIALIZING.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to