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

Only fetch index information from the index cache if the placement information is sharded

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2023-04-03, Sharding EMEA 2023-04-17

    Description

      With the introduction of the index cache to the catalog cache, getting the routing information fetches the placement information from the collection cache and then the index information from the index cache. However, there can be no global indexes on an unsharded collection, so we can forgo fetching the index information from the cache if the placement information we found is unsharded.

      This is important because it means that for unsharded collections, we will do one less trip to the config server for a newly accessed collection (we are pushing the first refresh of the index information for when the collection becomes sharded).

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: