Stephen O'Donnell created HDDS-6697:
---------------------------------------

             Summary: EC: ReplicationManager - create class to detect container 
health issues
                 Key: HDDS-6697
                 URL: https://issues.apache.org/jira/browse/HDDS-6697
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Stephen O'Donnell


Define an interface to allow a single containers health to be checked. The 
check health method should receive as parameters everything it needs to check 
the container health (eg the ContainerInfo, ContainerReplica list, ... ?) and 
return a status indicating the health of the container, eg HEALTHY, 
UNDER_REPLICATED, OVER_REPLICATED ...

The status object could also container some commands needing send to the 
command queue, eg to close the container, delete a replica, force close etc.

The idea here is to create a standalone health check class for EC with few 
dependencies so it can be tested in isolation easily.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to