Skip to content

Commit

Permalink
Increase relative rebalance limit to coincide with absolute limit whe…
Browse files Browse the repository at this point in the history
…n all shards are active.

Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
  • Loading branch information
yufei-cai committed Dec 11, 2022
1 parent 99639bc commit 0f8c3e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ akka {
rebalance-absolute-limit = 20
rebalance-absolute-limit = ${?AKKA_CLUSTER_SHARDING_LEAST_SHARD_ALLOCATION_STRATEGY_REBALANCE_ABSOLUTE_LIMIT}

# must be <=1.0: having configured e.g. 100 shards, a relative limit of 0.1 would result to "10"
rebalance-relative-limit = 0.1
# must be <=1.0: with 100 active shards, a relative limit of 0.2 would result to "20"
rebalance-relative-limit = 0.2
rebalance-relative-limit = ${?AKKA_CLUSTER_SHARDING_LEAST_SHARD_ALLOCATION_STRATEGY_REBALANCE_RELATIVE_LIMIT}
}
}
Expand Down

0 comments on commit 0f8c3e9

Please sign in to comment.