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

Stephen O'Donnell commented on HDDS-7582:
-----------------------------------------

It would make sense to add them to the excluded list. I think it is a bug for 
them not to be added as it could result an attempt to put two replicas on the 
same DN.

> ECUnderReplicationHandler does not consider pending adds when finding targets
> -----------------------------------------------------------------------------
>
>                 Key: HDDS-7582
>                 URL: https://issues.apache.org/jira/browse/HDDS-7582
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Siddhant Sangwan
>            Priority: Major
>
> ECUnderReplicationHandler finds new target datanodes where replicas of an 
> under replicated container can be added. However, it does not exclude 
> datanodes that are pending addition of a replica of that container from the 
> list of targets. Ideally, if we've already queued a command to add a replica 
> to a DN, we shouldn't add another command. 
> This Jira investigates why datanodes pending adds aren't excluded. Is there a 
> reason or is this a bug?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to