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

Restrict change streams unified tests to replicasets

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Change Streams
    • Needed
    • Hide

      Drivers should sync their unified/change-streams.[yml/json] tests to this commit. We've restricted all tests in that file to only run against replicasets for now (many of them already have this restriction) until we have time to look into sharded cluster failures with DRIVERS-2323. If any drivers are not seeing sharded cluster failures, this restriction and spec test update is optional.

      Show
      Drivers should sync their unified/change-streams. [yml/json] tests to this commit . We've restricted all tests in that file to only run against replicasets for now (many of them already have this restriction) until we have time to look into sharded cluster failures with DRIVERS-2323 . If any drivers are not seeing sharded cluster failures, this restriction and spec test update is optional.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4391 Gone away
      CXX-2514 Fixed 3.7.0
      CSHARP-4176 Fixed 2.16.0
      GODRIVER-2422 Done
      JAVA-4617 Fixed 4.7.0
      NODE-4252 Done 4.7.0
      MOTOR-964 Duplicate
      PYTHON-3273 Won't Do
      PHPLIB-873 Fixed 1.13.0-beta1, 1.13.0
      RUBY-3001 Fixed 2.18.0
      RUST-1327 Fixed 2.3.0
      SWIFT-1570 Duplicate
      $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-4391 Gone away CXX-2514 Fixed 3.7.0 CSHARP-4176 Fixed 2.16.0 GODRIVER-2422 Done JAVA-4617 Fixed 4.7.0 NODE-4252 Done 4.7.0 MOTOR-964 Duplicate PYTHON-3273 Won't Do PHPLIB-873 Fixed 1.13.0-beta1, 1.13.0 RUBY-3001 Fixed 2.18.0 RUST-1327 Fixed 2.3.0 SWIFT-1570 Duplicate

      Summary

      A number of the change streams spec tests in change-streams.yml already only run against replicasets (standalones do not support change streams). Running against regular sharded clusters and sharded replica sets causes unexpected behavior in the command monitoring events observed (usually unexpected drops and writes that cause test failures). The cause of these unexpected events is not immediately clear, so we should restrict the tests in that file to only run against replicasets for the time being. We can re-enable testing against sharded clusters as part of DRIVERS-2323.

      Motivation

      Who is the affected end user?

      Driver devs.

      How does this affect the end user?

      A couple teams (at least Go and PHP) are blocked on merging change streams tests because of failures against sharded clusters that likely do not represent bugs in the drivers.

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

      Consistent failures against sharded clusters.

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

      This is blocking at least a couple tickets in the Go driver.

      Is this issue urgent?

      Somewhat.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: