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

Add a new API CommandHelpers::parseNsFromCommand(const DatabaseName& dbName, const BSONObj& cmdObj)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Major Change
    • Server Serverless 2022-08-08

    Description

      We have a static function CommandHelpers::parseNsFromCommand 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.

      Attachments

        Activity

          People

            sophia.tan@mongodb.com Sophia Tan
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: