[SERVER-37546] balancer migrates chunks of unsharded collections Created: 10/Oct/18  Updated: 27/Oct/23  Resolved: 02/Nov/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Gone away Votes: 0
Labels: MaxH, pm-1051-legacy-tickets
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Sprint: Sharding 2018-11-19
Participants:

 Description   

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.


 Comments   
Comment by Max Hirschhorn [ 02/Nov/22 ]

This ticket was originally part of PM-1051 but is no longer necessary.

Generated at Thu Feb 08 04:46:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.