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/02 07:58:00 UTC

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

Siddhant Sangwan created HDDS-6243:
--------------------------------------

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


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