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

Ensure parseResourcePattern creates NamespaceString with tenantId

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-03-20, Server Serverless 2023-04-03

      Until PM-2969 is completed, parseResourcePattern takes in a string for the db name and when it constructs a NamespaceString, it will construct it without a tenantId. This will fail once tenantIds are required to construct namespaces when multitenancySupport is enabled. This ticket is to make sure that the tenantId is extracted from the db name so the namespace can be constructed with it correctly. This is temporary, as PM-2969 should change the API take use DatabaseName objects instead.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: