[ 
https://issues.apache.org/jira/browse/HDDS-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532603#comment-17532603
 ] 

Jie Yao commented on HDDS-6697:
-------------------------------

before we finish refactoring RM, i suggest test RM as a whole with the current 
RM UT and integration test, since refactor will bring a lot changes.
after we finish , all the modules should be split clearly, we can add tests for 
each of them.

> 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
>            Assignee: Stephen O'Donnell
>            Priority: Major
>         Attachments: EC Container Group Health Check.pdf
>
>
> 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