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

Server selection load balancing algorithm prose test is flaky

    • Needed
    • Hide

      Drivers need to update the operationCount based selection prose test implementation from server-selection-tests.rst

      Show
      Drivers need to update the operationCount based selection prose test implementation from server-selection-tests.rst
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4170 Backlog
      CXX-2379 Backlog
      CSHARP-3882 Backlog
      GODRIVER-2166 Fixed 1.10.0, 1.10.0-beta1
      JAVA-4320 Backlog
      NODE-3638 Done
      PHPLIB-727 Won't Do
      PYTHON-2924 Fixed 4.2
      MOTOR-823 Duplicate
      RUBY-2799 Duplicate
      RUST-1035 Fixed 2.3.0
      SWIFT-1360 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-4170 Backlog CXX-2379 Backlog CSHARP-3882 Backlog GODRIVER-2166 Fixed 1.10.0, 1.10.0-beta1 JAVA-4320 Backlog NODE-3638 Done PHPLIB-727 Won't Do PYTHON-2924 Fixed 4.2 MOTOR-823 Duplicate RUBY-2799 Duplicate RUST-1035 Fixed 2.3.0 SWIFT-1360 Won't Do

      Summary

      The operationCount based selection prose test in the server selection spec has proven to fail occasionally due to random slowness in in one of the mongoses. This is likely due to the mongoses competing for resources on the same virtual host (which is itself competing for resources). The C# and Rust driver teams have experimented with modifying this test to reduce the failures to some success. We should include these modifications in the actual spec so that future teams will not experience the same failures.
       

      Motivation

      Who is the affected end user?

      Drivers teams

      How does this affect the end user?

      Their tests occasionally fail

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

      The test fails 1-2% of the time

      Is this ticket only for tests?

      Yes

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: