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

Expand use of error labels for RetryableWrites

    • Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Component/s: None
    • None
    • Done
    • Expand use of error labels

      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#

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

              Created:
              Updated:
              Resolved:
              0 minutes