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

Add tests for non-retryable handshake errors

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Retryability
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4322 Blocked
      CXX-2479 Blocked
      CSHARP-4123 Blocked
      GODRIVER-2363 Blocked
      JAVA-4557 Blocked
      NODE-4150 Blocked
      MOTOR-921 Duplicate
      PYTHON-3195 Blocked
      PHPLIB-830 Blocked
      RUBY-2941 Blocked
      RUST-1249 Blocked
      SWIFT-1534 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-4322 Blocked CXX-2479 Blocked CSHARP-4123 Blocked GODRIVER-2363 Blocked JAVA-4557 Blocked NODE-4150 Blocked MOTOR-921 Duplicate PYTHON-3195 Blocked PHPLIB-830 Blocked RUBY-2941 Blocked RUST-1249 Blocked SWIFT-1534 Won't Do

      Summary

      DRIVERS-746 introduced spec language around retrying handshake errors, and there is still some ongoing discussion regarding whether that specification is complete. Regardless of the specific criteria for retryable errors, it is clear that not all handshake errors should be retryable (depending on the error type as well as the retryable reads/writes client settings); however, there are currently no spec tests for asserting that a driver should not retry particular handshake errors given some set of conditions. This could result in driver implementations that incorrectly retry on every handshake error regardless of error type, code, or client retryability settings.

      Is this ticket only for tests?

      Yes

            Assignee:
            Unassigned Unassigned
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: