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