You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sravani Revuri (Jira)" <ji...@apache.org> on 2026/10/16 13:03:00 UTC

[jira] [Created] (HDDS-17074) [UI] Quota initializing state is not detected in Namespace Usage metadata

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org