You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2023/01/20 16:27:00 UTC

[jira] [Resolved] (HDDS-7804) UNHEALTHY replicas will not contribute to sufficient replication in RatisContainerReplicaCount

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

Siddhant Sangwan resolved HDDS-7804.
------------------------------------
    Resolution: Implemented

> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org