You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2022/02/22 16:56:00 UTC

[jira] [Assigned] (HDDS-6243) sourceToTargetMap in ContainerBalancer doesn't support multiple entries with same source.

     [ https://issues.apache.org/jira/browse/HDDS-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddhant Sangwan reassigned HDDS-6243:
--------------------------------------

    Assignee: Siddhant Sangwan

> sourceToTargetMap in ContainerBalancer doesn't support multiple entries with same source.
> -----------------------------------------------------------------------------------------
>
>                 Key: HDDS-6243
>                 URL: https://issues.apache.org/jira/browse/HDDS-6243
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Siddhant Sangwan
>            Assignee: Siddhant Sangwan
>            Priority: Major
>
> The sourceToTargetMap, being a map, will not support multiple source to target mappings with the same source. Since ContainerBalancer now allows a source to be matched with multiple targets, this data structure is no longer suitable. This map is used in multiple unit tests and in the counting of Datanodes involved in an iteration. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org