Remove placement and index info getters from the catalog cache

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: