[SERVER-70433] Change DBClient functions to use DatabaseName and NamespaceString objects Created: 11/Oct/22  Updated: 29/Oct/23  Resolved: 23/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.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:
Duplicate
is duplicated by SERVER-70881 Support DatabaseName parameter for DB... Closed
Issue split
split to SERVER-72942 Change DBClient *Collection functions... Closed
split to SERVER-72943 Delete DBClient validate function Closed
split to SERVER-72944 Change DBClient dropDatabase to use D... Closed
split to SERVER-72946 Change DbClient *Index functions to u... Closed
split to SERVER-72948 Change DBClient runCommand function t... Closed
split to SERVER-72977 Change DBClient auth and logout funct... Closed
split to SERVER-73189 Change DbClient runCommandWithTarget ... Closed
split to SERVER-73375 Change DbClient fire-and-forget comma... Closed
Related
related to SERVER-74328 Delete the DbClient exists function Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-01-23, Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06
Participants:
Story Points: 8

 Description   

Most functions currently take in strings, but should take a DatabaseName or NamespaceString object to avoid dropping the tenantId. We'll likely need to make sure the call sites end up constructing the OpMsgRequests using OpMsgRequestBuilder::create rather than OpMsgRequest::fromDbAndBody so that the tenantId will be attached as the $tenant field if needed.



 Comments   
Comment by Sophia Tan [ 23/Feb/23 ]

All sub tickets are closed. No code change on this parent ticket.

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