Use RetryableWriteError label to determine retryable errors

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      A write error is now considered retryable if it has a RetryableWriteError label in the "errorLabels" field.

      See the Determining Retryable Writes section for more information on how the driver should determine which write errors are retryable.

      This change also involves implementing new spec tests that use the failCommand fail point to make sure that drivers are retrying writes based on the presence of the RetryableWriteError label, rather than error codes.

      See this PR for complete changes.

            Assignee:
            Unassigned
            Reporter:
            Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: