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

Add a new CommandHelpers::parseNsCollectionRequired to construct Namespace with tenantId

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

      We have a static function CommandHelpers::parseNsCollectionRequired 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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: