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

ASF GitHub Bot updated HDDS-7252:
---------------------------------
    Labels: pull-request-available  (was: )

> Polled source Datanodes are wrongly not re-considered for balancing in 
> Container Balancer
> -----------------------------------------------------------------------------------------
>
>                 Key: HDDS-7252
>                 URL: https://issues.apache.org/jira/browse/HDDS-7252
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Siddhant Sangwan
>            Assignee: Tejaskriya Madhan
>            Priority: Major
>              Labels: pull-request-available
>
> The FindSourceGreedy class maintains a priority queue of source datanodes. 
> This class is used to get the next source DN for balancing. According to 
> current design, a datanode can be involved in multiple source->target 
> pairings in one iteration of container balancer.
> When FindSourceGreedy#getNextCandidateSourceDataNode() is called during an 
> iteration, it polls a DN from the queue. This DN is re queued when 
> FindSourceGreedy#increaseSizeLeaving is called. Problem is that if 
> ContainerBalancer#moveContainer returns false, then increaseSizeLeaving will 
> not be called and the DN doesn't get added back.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to