Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-766

Use RetryableWriteError label to determine retryable errors

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: