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
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-3462 Fixed 1.17.0-beta, 1.17.0
      JAVA-3531 Fixed 4.1.0
      GODRIVER-1437 Fixed 1.4.0
      RUBY-2044 Fixed 2.13.0.beta1
      CSHARP-2872 Fixed 2.11.0
      CXX-1888 Done
      MOTOR-477 Duplicate
      NODE-2379 Fixed 3.6.0
      PHPC-1510 Fixed 1.8.0-beta1, 1.8.0
      PYTHON-2082 Fixed 3.11
      RUST-368 Duplicate
      SWIFT-793 Fixed 1.1.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-3462 Fixed 1.17.0-beta, 1.17.0 JAVA-3531 Fixed 4.1.0 GODRIVER-1437 Fixed 1.4.0 RUBY-2044 Fixed 2.13.0.beta1 CSHARP-2872 Fixed 2.11.0 CXX-1888 Done MOTOR-477 Duplicate NODE-2379 Fixed 3.6.0 PHPC-1510 Fixed 1.8.0-beta1, 1.8.0 PYTHON-2082 Fixed 3.11 RUST-368 Duplicate SWIFT-793 Fixed 1.1.0

      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