[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:
Backports
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: SERVER-36092 Create internal command to create collection on shard with uuid from primary shard

(cherry picked from commit f9b9dc297f1d3b7a84d4c36173c84e61e509eb12)
Branch: v4.0
https://github.com/mongodb/mongo/commit/62f5e7f0569a73cff1bafbf758c0cb65be79adbf

Comment by Githook User [ 21/Aug/18 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: Revert "SERVER-36092 Create internal command to create collection on shard with uuid from primary shard"

This reverts commit 97c9897d3d5cb16401e8c668b1e0711dfb081ec4.
Branch: v4.0
https://github.com/mongodb/mongo/commit/7608739b0635fdbdf7e267c42aa02c8ef25b0211

Comment by Githook User [ 15/Aug/18 ]

Author:

{'username': 'jannaerin', 'email': 'golden.janna@gmail.com', 'name': 'jannaerin'}

Message: SERVER-36092 Create internal command to create collection on shard with uuid from primary shard

(cherry picked from commit f9b9dc297f1d3b7a84d4c36173c84e61e509eb12)
Branch: v4.0
https://github.com/mongodb/mongo/commit/97c9897d3d5cb16401e8c668b1e0711dfb081ec4

Comment by Githook User [ 16/Jul/18 ]

Author:

{'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}

Message: SERVER-36092 Create internal command to create collection on shard with uuid from primary shard
Branch: master
https://github.com/mongodb/mongo/commit/f9b9dc297f1d3b7a84d4c36173c84e61e509eb12

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