-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-10-14, CAR Team 2024-10-28
Currently, the CatalogCache exposes 11 functions that all return a CollectionRoutingInfo object.
This complicates the life of developers because they always need to think very hard which of the 11 variants they should use in their code.
The plan is to remove the following functions:
- CatalogCache::getShardedCollectionRoutingInfoWithPlacementRefresh
- CatalogCache::getTrackedCollectionRoutingInfoWithPlacementRefresh
- CatalogCache::getTrackedCollectionRoutingInfo()
- CatalogCache::getShardedCollectionRoutingInfo()
- CatalogCache::getTrackedCollectionRoutingInfoWithRefresh()
- CatalogCache::getShardedCollectionRoutingInfoWithRefresh()
- depends on
-
SERVER-79064 Remove refine collection shard key deprecated code once 8.0 becomes last lts
- Closed
-
SERVER-94984 Refactor CatalogCache Index API
- Closed
-
SERVER-95526 Refactor CatalogCache usages in global index code
- Closed
-
SERVER-95527 Refactor CatalogCache usages in resharding code
- Closed
- is depended on by
-
SERVER-94376 Database is not refreshed under getCollectionRoutingInfoWithRefresh
- Closed