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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Serverless

      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.

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

              Created:
              Updated:
              Resolved: