[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: |
|
||||||||||||
| 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. |