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

Change CollectionCatalog::addResource and CollectionCatalog::removeResource to take in DatabaseName or NamespaceString obj

    XMLWordPrintableJSON

Details

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

    Description

      Currently these functions take in a string representing either a full collection namespace or database name. It's necessary that we store the full string that includes the tenantId when running in Serverless. In order to avoid confusion or future bugs, we should expose methods that take in a NamespaceString or DatabaseName directly, and then convert these to a string that contains the tenantId within the function - this will mitigate the risk of dropping the tenantId.

      Attachments

        Activity

          People

            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: