-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Server Serverless 2022-02-07, Server Serverless 2022-02-21
_orderedCollections is currently keyed by a std::pair<std::string, UUID>, change it to be keyed by std::pair<TenantDatabaseName, UUID>.
Also, change the related functions on CollectionCatalog that take in a dbName as a string to instead take in TenantDatabaseName.
-CollectionCatalog::iterator https://github.com/mongodb/mongo/blob/e1b81f363ccae3f9892815e5874b9a39665d8ebb/src/mongo/db/catalog/collection_catalog.cpp#L319
- CollectionCatalog::getAllCollectionUUIDsFromDb https://github.com/mongodb/mongo/blob/e1b81f363ccae3f9892815e5874b9a39665d8ebb/src/mongo/db/catalog/collection_catalog.cpp#L867
- CollectionCatalog::getAllCollectionNamesFromDb https://github.com/mongodb/mongo/blob/e1b81f363ccae3f9892815e5874b9a39665d8ebb/src/mongo/db/catalog/collection_catalog.cpp#L881
- is depended on by
-
SERVER-61988 Change CollectionCatalog maps that are keyed by db name to be keyed by TenantDatabase
- Closed