You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2022/08/24 10:26:00 UTC

[jira] [Resolved] (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 ]

Lokesh Jain resolved HDDS-6243.
-------------------------------
    Fix Version/s: 1.3.0
       Resolution: Fixed

> 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
>              Labels: pull-request-available
>             Fix For: 1.3.0
>
>
> 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.10#820010)

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