[SERVER-36092] Create internal command to create collection on new shard with existing uuid Created: 12/Jul/18 Updated: 29/Oct/23 Resolved: 16/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.2, 4.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.0
|
||||
| Sprint: | Sharding 2018-07-16, Sharding 2018-07-30 | ||||
| Participants: | |||||
| Description |
|
In order to create initial chunks directly on shards during shardCollection, we need to create the collection on all shards that will receive a chunk. We need to be able to create the collection on each shard with the same UUID, so we need to create a command that allows us to do so. The command will be internal only, and will ask the primary shard for the uuid for the collection. |
| Comments |
| Comment by Githook User [ 21/Aug/18 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: (cherry picked from commit f9b9dc297f1d3b7a84d4c36173c84e61e509eb12) |
| Comment by Githook User [ 21/Aug/18 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: Revert " This reverts commit 97c9897d3d5cb16401e8c668b1e0711dfb081ec4. |
| Comment by Githook User [ 15/Aug/18 ] |
|
Author: {'username': 'jannaerin', 'email': 'golden.janna@gmail.com', 'name': 'jannaerin'}Message: (cherry picked from commit f9b9dc297f1d3b7a84d4c36173c84e61e509eb12) |
| Comment by Githook User [ 16/Jul/18 ] |
|
Author: {'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: |