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

[jira] [Created] (HDDS-7408) Refactor container status page

Zita Dombi created HDDS-7408:
--------------------------------

             Summary: Refactor container status page
                 Key: HDDS-7408
                 URL: https://issues.apache.org/jira/browse/HDDS-7408
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Zita Dombi
            Assignee: smita


Based on this [comment|https://github.com/apache/ozone/pull/3837#pullrequestreview-1150451867] it would be nice if we would use one endpoint to query all the informations on the unhealthy containers. 
There are other things that remained in the code that can be changed/removed.
 * the db.json does not have really relevant data (there is 0 missing but after there is 2 missing containers added)
 * the {{@Path("/missing")}} got the deprecated tag, but it is still used
{code:java}
"/containers/missing": "/missingContainers",      <-- check the line below, it could be remove
"/containers/unhealthy/MISSING": "/containerUnhealthyMissing",
"/containers/unhealthy/UNDER_REPLICATED": "/containerUnhealthyUnderReplicated",
"/containers/unhealthy/OVER_REPLICATED": "/containerUnhealthyOverReplicated",
"/containers/unhealthy/MIS_REPLICATED": "/containerUnhealthyMisReplicated"
{code}

 * the {{IMissingContainerResponse}} and the {{IMissingContainersResponse}} are still in the code (but never used)
 * title: 'Active/Expected Replica(s)' should be 'Actual/Expected Replica(s)'
 * there is still {{uContainers}} and other names like this. (but the missing there is {{{}missingContainers{}}})
 * {{totalCount}} is never used in the {{{}missingContainers.tsx{}}}, but passed in the state
 * there is {{allReplicatedResponse}} left in the code in the {{missingContainers.tsx}} (I think it is left from the {{{}ALL_REPLICAS_UNHEALTHY{}}})



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