Balancer iterates over the list of collections, then picks up candidate chunks to migrage. Everytime a shard is chosen, it gets removed from the list of eligible chunks for this round. So, if the collection that has a chunk that needs to be drained off a shard ends up being iterated last from the list of collections every time, it will never get a chance to get drained, especially in a cluster with small number of shards.
chooseRandomMigration can starve draining shards of available desitnation shard
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: