mongos reapplies RetryableError to some IngressRequestRateLimitExceeded errors it receives from shards

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.0 Required
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Resilience
    • ALL
    • Workload Resilience 2026-07-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      mongos currently applies the RetryableError label to any IngressRequestRateLimitExceeded errors it propagates back to the client, even ones it may have parsed from a remote response from the shards. This is a problem for two reasons:

      • mongos may have already retried the request that produced this response a few times, and attaching the RetryableError label may multiply the total number of retry attempts, worsening overload.
      • The request that failed might not be idempotent, and retrying might produce data corruption.

      We should ensure that this label is only applied in the proper circumstances.

            Assignee:
            Patrick Freed
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: