Make the balancer retrieve stats from the BalancerStatsRegistry to take decisions: from balancing based on number of chunks to balancing based on actual collection size on each shard (excluding orphans).
- causes
-
SERVER-66827 Balancer may skip a round if last randomly selected collection has balancing disabled
- Closed
-
SERVER-73398 Invariant may be hit when downgrading from v6.0 due to moveChunk request without max key
- Closed
-
SERVER-75481 Consider ideal data size when balancing
- Closed
-
SERVER-83775 Do not balance data between shards owning more than the ideal data size
- Closed
- is related to
-
SERVER-66378 Adapt tests skipped when featureFlagBalanceAccordingToDataSize is enabled
- Closed
- related to
-
SERVER-66677 Fix clang_tidy error on enterprise-rhel80-dynamic-clang-tidy-v4
- Closed
-
SERVER-70852 Recommit SERVER-66716 on v6.0
- Closed