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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Serverless

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: