Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70881

Support DatabaseName parameter for DBClientBase::runCommand* APIs so that tenantId can be given

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Serverless

      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, ...)

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: