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

balancer migrates chunks of unsharded collections

    • Sharding
    • Sharding 2018-11-19

      Test:
      1. Start a sharding test with the balancer enabled.

      2. Test that the balancer will move an unsharded collection associated with a zone when it is on the wrong shard.

      1. Create an unsharded collection on shard A.
      2. Add shard B to "zoneA".
      3. Add the zone to the unsharded collection using `updateZoneKeyRange`.
      4. Assert that the balancer eventually moves the collection to the to shard B.

      3. Test that the balancer moves unsharded collections off a draining shard.

      1. Create two unsharded collections on shard A, one that is empty and one that is not, in the same DB.
      2. Remove the shard that these collections reside on.
      3. Assert that the balancer eventually moves the collection to shard B.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: