-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-09-16
When the balancer looks for chunks to be moved, it first selects a sharded collection (picked randomly) and then we pick the chunks to be moved for that collection following the next prioritization:
- A. First, we look for chunks that must be moved from draining shards.
B. Then, we look for chunks that are violating a zone range.
- C. Finally, we select chunks to distribute the collection across the cluster based on data size.
When there are draining shards but there isn't any suitable chunk to move from those shards, we'll reevaluate those draining shards in steps B and C, which is redundant.
The goal of this ticket is to skip the draining shards on steps B and C as the donor shards.
- is fixed by
-
SERVER-82834 Balancer continusly logs if cluster can't be balance due to zones
- Closed