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 2022/12/14 09:22:00 UTC

[jira] [Commented] (HDDS-7582) ECUnderReplicationHandler does not consider pending adds when finding targets

    [ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org