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

Change CollectionCatalog maps that are keyed by db name to be keyed by TenantDatabase

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Server Serverless 2022-01-10, Server Serverless 2022-01-24, Server Serverless 2022-02-07, Server Serverless 2022-02-21

      The _orderedCollections, _databaseProfileSettings, and _views maps are currently keyed by a string, change these to be keyed by TenantDatabaseName. Also, change any functions on CollectionCatalog that take in a dbName as a string to instead take in TenantDatabaseName, and any functions that return dbNames as a string to instead return them as a TenantDatabseName (i.e. getAllDbNames - actually this might be the only function that returns dbNames as string).

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

              Created:
              Updated:
              Resolved: