junkaixue commented on code in PR #2829:
URL: https://github.com/apache/helix/pull/2829#discussion_r1680073718
##########
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java:
##########
@@ -57,11 +59,16 @@ class ConstraintBasedAlgorithm implements
RebalanceAlgorithm {
private static final Logger LOG =
LoggerFactory.getLogger(ConstraintBasedAlgorithm.class);
private final List<HardConstraint> _hardConstraints;
private final Map<SoftConstraint, Float> _softConstraints;
+ private final Set<String> logEnabledClusters = new HashSet<>();
Review Comment:
This should be only one as per controller pipe line only serve for one
cluster.
The constraint object is staying with per pipeline.
--
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]