quickwit-oss/quickwit

Fix shard rebalancing

Closed this issue · 2 comments

Observed on Cicada:
4 indexers with 1572 + 918 + 342 + 234 = 3066 open shards
open shards target per indexer = 3066 / 4 = 766
open shards rebalance threshold = 766 + 20% = 919 :/

Restarting the CP seems to trigger a rebalance. Upon restart, a bunch of new open shards appear in the metrics:

Screenshot 2024-04-25 at 08 38 45

Fishy. I'll investigate.

Fixed via #4973.