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

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

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

1) KeyValueHandler.java: 882, lets release the lock first and then process the 
delete container out of the try catch block.

> Handle over replicated containers in SCM
> ----------------------------------------
>
>                 Key: HDDS-896
>                 URL: https://issues.apache.org/jira/browse/HDDS-896
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: SCM
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>         Attachments: HDDS-896.000.patch
>
>
> When SCM detects that a container is over-replicated, it has to delete some 
> replicas to bring the number of replicas to match the required value. If the 
> container is in QUASI_CLOSED state, we should check the {{originNodeId}} 
> field while choosing the replica to delete.



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