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

Mukul Kumar Singh commented on HDDS-853:
----------------------------------------

Thanks for working on this [~nandakumar131]. The patch looks good to me. Some 
minor comments.

1) CloseContainerCommandHandler:96, lets add a check that force option is false 
if the pipeline exists.
2) StorageContainerDatanodeProtocolProtos:294, Foce->Force
3) CloseContainerCommand:51, lets remove this function, and lets reconstruct 
the request with the force option for force option.

> Option to force close a container in Datanode
> ---------------------------------------------
>
>                 Key: HDDS-853
>                 URL: https://issues.apache.org/jira/browse/HDDS-853
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Datanode
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>         Attachments: HDDS-853.000.patch
>
>
> We need an option to force close a container in Datanode. When the container 
> is marked as QuasiClosed, based on the blockCommitSequenceId SCM will decide 
> the latest container replica and it will close try to close the QuasiClosed 
> container.
> For this, we need force close support in Datanode which will close the 
> QuasiClosed container.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to