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

Update prose tests for mongos deprioritization during retryable ops

    XMLWordPrintableJSON

Details

    • Needed - No Spec Changes
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4827 In Code Review
      CXX-2824 Blocked
      CSHARP-4958 Blocked
      GODRIVER-3121 Blocked
      JAVA-5320 Blocked
      NODE-5905 Blocked
      MOTOR-1252 Blocked
      PYTHON-4203 Blocked
      PHPLIB-1391 Blocked
      RUBY-3391 Blocked
      RUST-1842 Blocked
      $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-4827 In Code Review CXX-2824 Blocked CSHARP-4958 Blocked GODRIVER-3121 Blocked JAVA-5320 Blocked NODE-5905 Blocked MOTOR-1252 Blocked PYTHON-4203 Blocked PHPLIB-1391 Blocked RUBY-3391 Blocked RUST-1842 Blocked

    Description

      Summary

      Prose tests introduced by DRIVERS-1571 may not execute relevant code paths due to (1) SDAM error handling behavior preceeding suitable server deprioritization and (2) Driver-specific SDAM behavior preventing deduction of a single-mongos connection as a Sharded topology.

      Drivers that have already implemented DRIVERS-1571 should update their prose tests accordingly to the new prose test specification; Drivers that have not yet implemented DRIVERS-1571 should implement the prose tests according to the updated specification. Drivers are encouraged to confirm that the updated prose tests correctly execute the code paths related to server deprioritization using debuggers, code coverage tools, etc.

      Motivation

      Who is the affected end user?

      Drivers implementing DRIVERS-1571.

      How does this affect the end user?

      Prose tests intended to test mongos redirection may not execute related code paths, potentially leading to false-positive test results for incorrect implementation of server deprioritization.

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

      Testing only.

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

      Potential false-positive test results may allow incorrect server deprioritization implementations to slip into Drivers releases and fail to satisfy the requirements of customer requests in DRIVERS-1571.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes (but may lead to changes to Drivers implementations if removal of potential false-positives uncovers proper test failures).

      Acceptance Criteria

      N/A

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: