Legacy mongo shell must retry writes upon allowed errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2026-01-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The official specification for retryable writes states the following:

      An error is considered retryable if it has a RetryableWriteError label in its top-level "errorLabels" field.

      While drivers already implement this behavior, the legacy mongo shell (only used for internal testing) is not respecting this constraint by only retrying upon a subset of all the acceptable errors.

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: