-
Type: Investigation
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Not Needed
a new command "moveCollection" will be introduced in this project that will allow users to move unsharded collections to a shard of their choice one at a time in an online manner.
we will deprecate movePrimary in favor of the moveCollection command.
We would like to create a shell helper for moveCollection command.
Description of Linked Ticket
Summary
Allow users to move an unsharded collection to a shard of their choice using moveCollection command without impacting their application's availability.
Motivation
All unsharded collections currently reside on the primary shard of a database. The ability to move an unsharded collection to any shard unlocks users' ability to leverage horizontal scalability without needing to actually shard their collections. Most of our users have only 1 sharded collection. The primary shard has the most amount of collections and it would be good to move collections around without needing to shard them.
Documentation
Ability to Create and Move Collections on an Arbitrary Shard Product Descriptionl
Scope
Technical Design
Docs Update
- is duplicated by
-
MONGOSH-1848 Add moveCollection and unshardCollection helpers
- Closed