[ 
https://issues.apache.org/jira/browse/HDDS-7977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen O'Donnell updated HDDS-7977:
------------------------------------
    Parent Issue: HDDS-7731  (was: HDDS-7759)

> Use different types for healthy and unhealthy RatisReplicaCount classes
> -----------------------------------------------------------------------
>
>                 Key: HDDS-7977
>                 URL: https://issues.apache.org/jira/browse/HDDS-7977
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Ethan Rose
>            Priority: Major
>
> Jira filed from [this 
> comment|https://github.com/apache/ozone/pull/4227#pullrequestreview-1288064161]
> In HDDS-7847 a boolean was added to determine whether 
> {{RatisContainerReplicaCount}} should account for unhealthy replicas or not. 
> This changes the behavior of the class such that instances with the boolean 
> set to true or false will behave differently. To prevent dev errors using an 
> unhealthy instance when a healthy one is expected and vice-versa, it would be 
> better to use inheritance and two separate types here instead of the boolean.
> As part of this task, we can also fork the {{RatisContainerReplicaCount}} for 
> use with the Legacy RM so it does not hinder progress in the new RM which 
> behaves differently.



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