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

Prevent random moveCollections from starving shard draining

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • v8.0
    • Cluster Scalability 2024-5-27

      If the random migration fail point is on, it will randomly move unsharded collections in each balancer round. The balancer checks unsharded collections before sharded ones, and each shard can only be used in one operation per round, so if there are enough unsharded collections, all shards will be selected for moveCollections before checking for chunks that need to be moved from draining shards, preventing sharded collections from being drained in suites that rely on this, like the config transition ones.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: