-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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).
- depends on
-
SERVER-61984 Create TenantDatabase class
- Closed
-
SERVER-63101 Have CollectionCatalog APIs return a set TenantDatabaseName
- Closed
-
SERVER-63109 Change CollectionCatalog::_databaseProfileSettings to be keyed by DatabaseName
- Closed
-
SERVER-63131 Change CollectionCatalog::_orderedCollections to be keyed by std::pair<TenantDatabaseName, UUID>
- Closed
-
SERVER-63137 Change CollectionCatalog::_views to be keyed by TenantDatabaseName
- Closed
-
SERVER-63535 Change CollectionCatalog::onCloseDatabase to take TenantDatabaseName
- Closed
- is depended on by
-
SERVER-61822 Create new command listDatabasesForAllTenants
- Closed