[SERVER-70881] Support DatabaseName parameter for DBClientBase::runCommand* APIs so that tenantId can be given Created: 26/Oct/22  Updated: 05/Dec/22  Resolved: 01/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Yoon Soo Kim Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-70433 Change DBClient functions to use Data... Closed
Assigned Teams:
Serverless
Participants:

 Description   

Currently, the following APIs does not support DatabaseName parameter and callers can't specify tenantId.

  • DBClientBase::runCommand
  • DBClientBase::runCommandWithTarget

Given that recently tenantId is added to DatabaseName, dbname parameters can't be just const std::string&.

We may introduce a new set of runCommand APIs like

  • runCommand(const DatabaseName& dbName, ...)
  • runCommandWithTarget(const DatabaseName& dbName, ...)

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