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 Needs Triage
      CSHARP-5901 Needs Triage
      GODRIVER-3825 Needs Triage
      JAVA-6114 Needs Triage
      NODE-7458 Needs Triage
      PYTHON-5734 Needs Triage
      PHPLIB-1797 Needs Triage
      RUBY-3783 Needs Triage
      RUST-2370 Needs Triage
      $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 Needs Triage CSHARP-5901 Needs Triage GODRIVER-3825 Needs Triage JAVA-6114 Needs Triage NODE-7458 Needs Triage PYTHON-5734 Needs Triage PHPLIB-1797 Needs Triage RUBY-3783 Needs Triage RUST-2370 Needs Triage

      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: