Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97419

Investigate the Feasibility of Enhancing the Balancing Policy to Increase Range Locality

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 8.0.4
    • Component/s: None
    • None
    • Cluster Scalability

      Currently the chunk selection in place for the current balancing policy in a sharded cluster is simple and selects the bottom of the shard key range to be moved from the donor shard to the recipient shard. This selection policy can generate sharded collection fragmentation especially when a multiple shards are donating (not concurrently) to the same shard as it's incredibly unlikely the bottom of the shard key range across multiple shards is contiguous. 

      With the release of the Auto-Merger in 7.0 we should explore if we can enhance the balancing policy and chunk selection process to maintain range locality while balancing via chunk migrations, enabling the Auto-Merger to squash contiguous chunks together and ultimately keeping the overall chunk count in the cluster minimized. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.panton@mongodb.com Matt Panton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: