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

Lokesh Jain commented on HDDS-1561:
-----------------------------------

The Jira needs a ratis snapshot upgrade. Uploaded a patch without the ratis 
snapshot change.

> Mark OPEN containers as QUASI_CLOSED as part of Ratis groupRemove
> -----------------------------------------------------------------
>
>                 Key: HDDS-1561
>                 URL: https://issues.apache.org/jira/browse/HDDS-1561
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode, SCM
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Lokesh Jain
>            Priority: Blocker
>         Attachments: HDDS-1561.001.patch
>
>
> Right now, if a pipeline is destroyed by SCM, all the container on the 
> pipeline are marked as quasi closed when datanode received close container 
> command. SCM while processing these containers reports, marks these 
> containers as closed once majority of the nodes are available.
> This is however not a sufficient condition in cases where the raft log 
> directory is missing or corrupted. As the containers will not have all the 
> applied transaction. 
> To solve this problem, we should QUASI_CLOSE the containers in datanode as 
> part of ratis groupRemove. If a container is in OPEN state in datanode 
> without any active pipeline, it will be marked as Unhealthy while processing 
> close container command.
> cc [~jnp], [~shashikant], [~sdeka], [~nandakumar131]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to