[SERVER-61988] Change CollectionCatalog maps that are keyed by db name to be keyed by TenantDatabase Created: 10/Dec/21  Updated: 29/Oct/23  Resolved: 12/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-61984 Create TenantDatabase class Closed
depends on SERVER-63101 Have CollectionCatalog APIs return a ... Closed
depends on SERVER-63109 Change CollectionCatalog::_databasePr... Closed
depends on SERVER-63131 Change CollectionCatalog::_orderedCol... Closed
depends on SERVER-63137 Change CollectionCatalog::_views to b... Closed
depends on SERVER-63535 Change CollectionCatalog::onCloseData... Closed
is depended on by SERVER-61822 Create new command listDatabasesForAl... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-01-10, Server Serverless 2022-01-24, Server Serverless 2022-02-07, Server Serverless 2022-02-21
Participants:

 Description   

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).


Generated at Thu Feb 08 05:53:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.