Test deprioritized selection with tag sets

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Backpressure
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6250 Duplicate
      CXX-3425 Backlog
      CSHARP-5901 Fixed 3.7.1
      GODRIVER-3825 Done 2.6.0
      JAVA-6114 Ready for Work
      NODE-7458 Fixed 7.2.0
      PYTHON-5734 Fixed 4.17.0
      PHPLIB-1797 Won't Do
      RUBY-3783 Backlog
      RUST-2370 Fixed 3.6.0
      $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 */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-6250 Duplicate CXX-3425 Backlog CSHARP-5901 Fixed 3.7.1 GODRIVER-3825 Done 2.6.0 JAVA-6114 Ready for Work NODE-7458 Fixed 7.2.0 PYTHON-5734 Fixed 4.17.0 PHPLIB-1797 Won't Do RUBY-3783 Backlog RUST-2370 Fixed 3.6.0

      Summary

      Test replica set deprioritization when a deprioritized server is the only server with a matching tag set.

      Motivation

      Motivated by a bug in the C driver: CDRIVER-6248

      Who is the affected end user?

      Users using read preferences with tag sets.

      How does this affect the end user?

      If this surfaces a bug, this could cause an incorrect server to be selected.

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

      IMO unlikely. This was an implementation bug in C. But I think it is worth syncing the new spec tests to check all drivers.

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

      Unsure. This might distribute load in a different way than the user intended.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Acceptance Criteria

      • Ensure a new tests fail on the C driver prior to the fix of CDRIVER-6248.

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: