Investigate ExceededTimeLimit retriability in multi-document transactions when waiting for refreshes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2026-01-19, CAR Team 2026-02-02, CAR Team 2026-02-16
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a multi-document transaction needs the filtering metadata for a namespace and a refresh is in progress, it will serialize with that refresh using a deadline of 500 ms. If that deadline is exceeded, the shard will throw an ExceededTimeLimit error.

      We would like to investigate whether this ExceededTimeLimit is retried at the level of mongos (because it is a retriable error) or at the level of the driver (because we attach the TransientTransactionError label). Ideally, mongos should be the component retrying this error, and we would prefer not to make the driver responsible for retrying the entire transaction from the beginning.

            Assignee:
            Pol Pinol
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: