[
https://issues.apache.org/jira/browse/HDDS-15654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Kumar updated HDDS-15654:
--------------------------------
Parent: HDDS-15534
Issue Type: Sub-task (was: Task)
> Remove unused withinThresholdUtilizedNodes list from ContainerBalancerTask
> --------------------------------------------------------------------------
>
> Key: HDDS-15654
> URL: https://issues.apache.org/jira/browse/HDDS-15654
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ashish Kumar
> Assignee: Sreeja
> Priority: Major
> Labels: container-balancer, pull-request-available
> Fix For: 2.3.0
>
>
> In ContainerBalancerTask, withinThresholdUtilizedNodes list is populated in
> initializeIteration() but never used for source/target selection, since
> getPotentialSources() / getPotentialTargets() only return over/under nodes.
> There are TODOs to include within threshold nodes as candidates, but that was
> never implemented.
> Using within threshold nodes as balancing candidates is not needed as the
> balancer's threshold configuration already controls participation. If a
> within threshold node should participate, operators can tighten the threshold
> to reclassify it as over- or under utilized.
> Fix: Remove withinThresholdUtilizedNodes list and the related TODOs. No
> change to current balancer behavior.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]