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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to