csudharsanan commented on code in PR #2699:
URL: https://github.com/apache/helix/pull/2699#discussion_r1456470239
##########
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/TopStateMaxCapacityUsageInstanceConstraint.java:
##########
@@ -41,7 +44,10 @@ protected double getAssignmentScore(AssignableNode node,
AssignableReplica repli
}
float estimatedTopStateMaxUtilization =
clusterContext.getEstimatedTopStateMaxUtilization();
float projectedHighestUtilization =
- node.getTopStateProjectedHighestUtilization(replica.getCapacity());
- return computeUtilizationScore(estimatedTopStateMaxUtilization,
projectedHighestUtilization);
+ node.getTopStateProjectedHighestUtilization(replica.getCapacity(),
clusterContext.getPreferredScoringKey());
+ double utilizationScore =
computeUtilizationScore(estimatedTopStateMaxUtilization,
projectedHighestUtilization);
+ LOG.info("[DEPEND-29018] clusterName: {}, estimatedTopStateMaxUtilization:
{}, projectedHighestUtilization: {}, utilizationScore: {}, preferredScoringKey:
{}",
Review Comment:
resolving for same reason as mentioned above.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]