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

Add support for handling stale exception from mongos with enableFinerGrainedCatalogCacheRefresh

    • Type: Icon: New Feature New Feature
    • Resolution: Declined
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2023-01-23

      $_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.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: