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

Expand use of error labels for RetryableWrites

    XMLWordPrintableJSON

Details

    • Epic
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Useful Info

      Summary

      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.
      Lead: jmikola
      Author: Emily
      POCs: Ruby - Emily, C#

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rathi.gnanasekaran Rathi Gnanasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                23 hours, 59 minutes