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

Break NoWritesPerformed-Only Error Sequence

    • Needed
    • Hide

      Drivers should sync unified retryable-writes spec tests to mongodb/specifications@2051f35.

      Show
      Drivers should sync unified retryable-writes spec tests to mongodb/specifications@2051f35 .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4531 Fixed 1.24.0
      CXX-2619 Backlog
      CSHARP-4441 Backlog
      GODRIVER-2670 Duplicate
      JAVA-4827 Fixed 4.9.0
      NODE-4864 Done 5.4.0
      MOTOR-1071 Duplicate
      PYTHON-3535 Duplicate
      PHPLIB-1048 Works as Designed
      RUBY-3190 Fixed 2.19.0
      RUST-1552 Backlog
      SWIFT-1683 Won't Do
      $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-4531 Fixed 1.24.0 CXX-2619 Backlog CSHARP-4441 Backlog GODRIVER-2670 Duplicate JAVA-4827 Fixed 4.9.0 NODE-4864 Done 5.4.0 MOTOR-1071 Duplicate PYTHON-3535 Duplicate PHPLIB-1048 Works as Designed RUBY-3190 Fixed 2.19.0 RUST-1552 Backlog SWIFT-1683 Won't Do

      In the previous specification for executing retryable writes, there is an edge case where the server only returns errors with the "NoWritesPerformed" error label. If this happens, the following block is unreachable:

            if (originalError is not DriverException && ! originalError.hasErrorLabel("NoWritesPerformed")) {
              previousError = originalError;
            }
      

      In this case, the previousError that will be propagated to the user will be "null". In reality, this routine should propagate the first NoWritesPerformed-labeled error.

            Assignee:
            preston.vasquez@mongodb.com Preston Vasquez
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: