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

Improve test coverage for retryable handshake errors

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Retryability
    • None
    • Needed
    • Hide
      • Sync unified spec test files for Retryable Reads and Retryable Writes with 35b17b70 (formerly b9cdbbbe; bugfix applied to skip operations not supported on serverless).
      Show
      Sync unified spec test files for Retryable Reads and Retryable Writes with 35b17b70 (formerly b9cdbbbe ; bugfix applied to skip operations not supported on serverless).
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4517 Fixed 1.24.0
      CXX-2610 Fixed 3.8.0
      CSHARP-4394 Done 2.19.0
      GODRIVER-2639 Blocked
      JAVA-4798 Fixed 4.9.0
      NODE-4790 Fixed 4.12.1
      MOTOR-1062 Duplicate
      PYTHON-3500 Fixed 4.3.3
      PHPLIB-1033 Backlog
      RUBY-3171 Fixed 2.19.0
      RUST-1531 Fixed 2.4.0
      SWIFT-1676 Won't Do
      JAVA-4831 Backlog
      $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-4517 Fixed 1.24.0 CXX-2610 Fixed 3.8.0 CSHARP-4394 Done 2.19.0 GODRIVER-2639 Blocked JAVA-4798 Fixed 4.9.0 NODE-4790 Fixed 4.12.1 MOTOR-1062 Duplicate PYTHON-3500 Fixed 4.3.3 PHPLIB-1033 Backlog RUBY-3171 Fixed 2.19.0 RUST-1531 Fixed 2.4.0 SWIFT-1676 Won't Do JAVA-4831 Backlog

      Summary

      Improve unified spec test coverage of retryable handshake network errors as specified by the Retryable Writes and Retryable Reads specs following DRIVERS-746.

      Motivation

      Who is the affected end user?

      Drivers implementing Retryable Writes and Retryable Reads. Depending on the implementation, different operations may trigger different code paths. Different code paths may or may not handle retryable handshake network errors as expected.

      How does this affect the end user?

      Additional tests may expose operations that fail to retry on handshake network errors as required by the spec.

      How likely is it that this problem or use case will occur?

      Unlikely, but depends on a Driver's implementation of Retryable Writes and Retryable Reads.

      If the problem does occur, what are the consequences and how severe are they?

      Minor. Drivers may need to update their implementation of DRIVERS-746 to account for missed supported operations.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: