Skip to content

Commit

Permalink
Set rebalance threshold to 10%
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed May 17, 2024
1 parent 8941951 commit 7ed3bc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ impl IngestController {
}
let num_open_shards_per_leader_target = num_open_shards / num_ingesters;
let num_open_shards_per_leader_threshold = cmp::max(
num_open_shards_per_leader_target * 12 / 10,
num_open_shards_per_leader_target * 11 / 10,
num_open_shards_per_leader_target + 1,
);
let mut shards_to_move: Vec<&ShardEntry> = Vec::new();
Expand Down

0 comments on commit 7ed3bc8

Please sign in to comment.