[SERVER-73922] Remove placement and index info getters from the catalog cache Created: 13/Feb/23  Updated: 29/Oct/23  Resolved: 22/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: PM-2583-Milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 22/Feb/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-73922 Remove placement and index info getters from the catalog cache
Branch: master
https://github.com/mongodb/mongo/commit/3ba9f5c9b6d4d8b4edab1aafe733a84c0c921744

Generated at Thu Feb 08 06:26:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.