[SERVER-68420] Add a new CommandHelpers::parseNsCollectionRequired to construct Namespace with tenantId Created: 28/Jul/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: Sophia Tan Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-67409 Change mongo::createCollection to tak... Closed
is depended on by SERVER-68398 Change BasicCommandWithReplyBuilderIn... Closed
Issue split
split from SERVER-67519 Change CommandHelpers::parseNs* metho... Open
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-08-08
Participants:

 Description   

We have a static function CommandHelpers::parseNsCollectionRequired which takes in db name string and cmdObj to create NamespaceString.

In this ticket, we will add a same name function but this new one will take in DatabaseName instead of db name string so that it can construct NamespaceString with tenant id.

A lot of tickets will depend on the new function. The old function will be removed one all call places use the new function. We will have another ticket to remove the old function.



 Comments   
Comment by Githook User [ 01/Aug/22 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-68420 Add a new CommandHelpers::parseNsCollectionRequired to construct Namespace with tenantId
Branch: master
https://github.com/mongodb/mongo/commit/a6fc3aaa06416ffe28bae7d946b9b97f16ab8626

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