-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06
As part of SERVER-72889, the getCollectionRoutingInfo methods in the catalog cache will always return placement info and index info that are from the same instance of the collection (the uuid must match). In order to prevent people from using getCollectionPlacementInfo and getCollectionIndexInfo and creating a ShardVersion that doesn't have this guarantee, we should remove those separate getters and replace usages with getCollectionRoutingInfo