Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Catalog and Routing
-
CAR Team 2024-01-22
Description
When `draining` and `userSpecifiedDestination` are true, the unsharded balancer policy should generate migrations to move collections off of the draining shard and to `destinationShard`.
This will require adding `userSpecifiedDestination` and `destinationShard` to the cluster statistics. The collections currently located on the draining shard can be fetched from config.collections/config.chunks in this initial implementation. This information can be fetched from the unsharded policy's cache later on, but this initial implementation will allow testing to start for removeShard.
Attachments
Issue Links
- depends on
-
SERVER-83529 Generate covered projections with $expr
-
- Closed
-
- related to
-
SERVER-85378 move_unsharded_policy reads the destination shard of a migration from the catalog
-
- Backlog
-
-
SERVER-85538 Improve the performance of findUnsplitableCollections in move_unsharded_policy
-
- Backlog
-