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

CollectionRouter should not refresh and retry for unrelated namespaces

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-03-04

      CollectionRouter/MultiCollectionRouter performs retries for any StaleConfig exception, regardless of whether the stale namespace is one involved in that particular router loop. This leads to unnecessary retries when the stale version is one provided by the issuer of a command, but then the execution on the targeted shard reaches a CollectionRouter to perform additional routing (e.g. when executing a lookup, additional routing is performed for the inner collection).

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: