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

Add support for handling stale exception from mongos with enableFinerGrainedCatalogCacheRefresh

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing
    • Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2023-01-23

    Description

      $_internalOwningShard will add a shard version parameter and checking (separate from the top level command field). To allow running this expression correctly in mongos, it will need to be able to throw StaleConfigException correctly with enableFinerGrainedCatalogCacheRefresh set to true. This is because it requires passing in the shardId of the source of the stale error, which in this case is from a mongos.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: