You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2023/02/14 15:43:00 UTC

[jira] [Resolved] (HDDS-7847) Handle Replication of Unhealthy Replicas in RM

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

Stephen O'Donnell resolved HDDS-7847.
-------------------------------------
    Resolution: Fixed

> Handle Replication of Unhealthy Replicas in RM
> ----------------------------------------------
>
>                 Key: HDDS-7847
>                 URL: https://issues.apache.org/jira/browse/HDDS-7847
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Siddhant Sangwan
>            Assignee: Siddhant Sangwan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> Note: Unhealthy refers to ContainerReplicaProto#State UNHEALTHY.
> Unhealthy ratis replicas are currently not considered when checking for replication in RatisReplicationCheckHandler. Since they are somehow corrupted, as long as we have healthy replicas, unhealthy replicas are not touched. We need new functionality to delete excess unhealthy replicas (with special considerations for QUASI_CLOSED containers) if we have sufficient replication otherwise. If only unhealthy replicas are remaining, we need to replicate them like healthy replicas.
> This jira proposes:
> 1. Having a new handler - RatisUnhealthyReplicationCheckHandler - in the chain of handlers. This will check for replication of all replicas, including unhealthy. We should reach here only if there is perfect replication otherwise or only unhealthy replicas are remaining.
> 2. Add a flag to RatisContainerReplicaCount that should be enabled to consider unhealthy replicas. This will help accomplish point 1. 
> 3. Some changes to RatisUnderReplicationHandler and RatisOverReplicationHandler.



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