[SERVER-67409] Change mongo::createCollection to take in DatabaseName Created: 21/Jun/22  Updated: 29/Oct/23  Resolved: 07/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-68420 Add a new CommandHelpers::parseNsColl... Closed
is depended on by SERVER-68421 Remove CommandHelper::parseNsCollecti... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-08-22
Participants:

 Description   

Currently, the mongo::createCollection function that takes in a db name rather than nss takes in the db name as a string and then parses the full namespace. This function should take in a DatabaseName object instead. Note that this uses CommandHelpers::parseNsCollectionRequired to construct the NamespaceString - that function must be changed/removed first.


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