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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change
    • Server Serverless 2022-08-08

      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.

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

              Created:
              Updated:
              Resolved: