Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73922

Remove placement and index info getters from the catalog cache

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: