Changed variance based balancing to 12
This commit is contained in:
parent
f9465637ae
commit
cc0bf011a0
3 changed files with 4 additions and 4 deletions
|
|
@ -249,7 +249,7 @@ public class PropertiesMappingE2ETest {
|
|||
.workerUtilizationAwareAssignmentConfig()
|
||||
.staleWorkerMetricsEntryCleanupDuration());
|
||||
assertEquals(
|
||||
6,
|
||||
12,
|
||||
kclV3Config
|
||||
.leaseManagementConfig
|
||||
.workerUtilizationAwareAssignmentConfig()
|
||||
|
|
|
|||
|
|
@ -580,12 +580,12 @@ public class LeaseManagementConfig {
|
|||
|
||||
/**
|
||||
* Frequency to perform worker variance balancing. This value is used with respect to the LAM frequency,
|
||||
* that is every sixth (as default) iteration of LAM the worker variance balancing will be performed.
|
||||
* that is every twelfth (as default) iteration of LAM the worker variance balancing will be performed.
|
||||
* Setting it to 1 will make varianceBalancing run on every iteration of LAM and 2 on every 2nd iteration
|
||||
* and so on.
|
||||
* NOTE: LAM frequency = failoverTimeMillis
|
||||
*/
|
||||
private int varianceBalancingFrequency = 6;
|
||||
private int varianceBalancingFrequency = 12;
|
||||
|
||||
/**
|
||||
* Alpha value used for calculating exponential moving average of worker's metricStats. Selecting
|
||||
|
|
|
|||
|
|
@ -789,7 +789,7 @@ class LeaseAssignmentManagerTest {
|
|||
LeaseManagementConfig.GracefulLeaseHandoffConfig.builder()
|
||||
.isGracefulLeaseHandoffEnabled(false)
|
||||
.build(),
|
||||
100L);
|
||||
200L);
|
||||
|
||||
leaseAssignmentManager.start();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue