-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Catalog and Routing
-
Fully Compatible
moveCollection uses the resharding machinery to do an online movement of user data. There is a precondition though: the collection must be tracked. The purpose of this ticket is to make moveCollection to track the collection if it's unsharded and then use the resharding machinery.
This could be achieved by for example creating a _shardsvrMoveCollection command that first spawns a coordinator to track the collection, and then spawns the resharding coordinator.
We could also modify the _shardsvrReshardCollection command so that it tracks and then spawns the coordinator if the provenance is moveCollection.
This ticket will also be responsible for updating the create collection coordinator to allow tracking an existing collection.
- is depended on by
-
SERVER-87316 Check the cluster cardinality parameter before tracking and moving a collection
- Closed
-
SERVER-87625 Use moveCollection to get tracked unsharded collections for timeseries update tests
- Closed
-
SERVER-87755 Replace createUnsplittableCollection with create command for moveCollection tests
- Closed
-
SERVER-87807 Allow moveDatabaseAndUnshardedColls test helper to issue moveCollection for untracked collections
- Closed
- is duplicated by
-
SERVER-87755 Replace createUnsplittableCollection with create command for moveCollection tests
- Closed