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

ASF GitHub Bot updated HDDS-7804:
---------------------------------
    Labels: pull-request-available  (was: )

> UNHEALTHY replicas will not contribute to sufficient replication in 
> RatisContainerReplicaCount
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDDS-7804
>                 URL: https://issues.apache.org/jira/browse/HDDS-7804
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>    Affects Versions: 1.3.0
>            Reporter: Siddhant Sangwan
>            Assignee: Siddhant Sangwan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> As of HDDS-6447, RatisContainerReplicaCount considers only replicas that 
> match the container state when counting sufficient replication.
> Current Behaviour -
> Example 1:
> Container State: CLOSED
> Replicas: CLOSED, CLOSED, CLOSING.
> RatisContainerReplicaCount#isSufficientlyReplicated will return false for 
> this container. 
> Example 2:
> Container State: CLOSED
> Replicas: CLOSED, CLOSED, UNHEALTHY.
> RatisContainerReplicaCount#isSufficientlyReplicated will return false for 
> this container. 
> This behaviour makes it simpler to work with different cases in the Legacy 
> Replication Manager. However, we will change this behaviour for the new RM 
> while ensuring Legacy still works as expected.
> This jira proposes excluding only replicas with UNHEALTHY state when 
> calculating sufficient replication. Example 1 will return true, while 2 will 
> return false.



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