Fly-Style commented on code in PR #18936:
URL: https://github.com/apache/druid/pull/18936#discussion_r2724124109
##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/autoscaler/WeightedCostFunction.java:
##########
@@ -29,7 +29,11 @@
public class WeightedCostFunction
{
private static final Logger log = new Logger(WeightedCostFunction.class);
-
+ private static final double HIHG_LAG_SCALE_FACTOR = 100_000.0;
Review Comment:
Fixed:
https://github.com/apache/druid/pull/18936/commits/caf6aa20375c5178c00d16edbf7e059f86568bed
##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/autoscaler/CostBasedAutoScaler.java:
##########
@@ -57,6 +57,11 @@ public class CostBasedAutoScaler implements
SupervisorTaskAutoScaler
private static final int MAX_INCREASE_IN_PARTITIONS_PER_TASK = 2;
private static final int MAX_DECREASE_IN_PARTITIONS_PER_TASK =
MAX_INCREASE_IN_PARTITIONS_PER_TASK * 2;
+ private static final int LAG_STEP = 100_000;
Review Comment:
Fixed:
https://github.com/apache/druid/pull/18936/commits/caf6aa20375c5178c00d16edbf7e059f86568bed
--
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]