Test empty tag sets match servers with no tag sets

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Server Selection
    • None
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6244 Blocked
      CXX-3420 Blocked
      CSHARP-5891 Blocked
      GODRIVER-3821 Blocked
      JAVA-6104 Blocked
      NODE-7451 Blocked
      PYTHON-5730 Blocked
      PHPLIB-1792 Blocked
      RUBY-3777 Blocked
      RUST-2364 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 */ } #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-6244 Blocked CXX-3420 Blocked CSHARP-5891 Blocked GODRIVER-3821 Blocked JAVA-6104 Blocked NODE-7451 Blocked PYTHON-5730 Blocked PHPLIB-1792 Blocked RUBY-3777 Blocked RUST-2364 Blocked

      Summary

      Add a server selection test to ensure the empty tag set {} matches servers with no tags.

      Motivation

      Motivated by a bug in the Rust driver: RUST-2363

      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?

      Unsure. C and PyMongo do not appear to have this bug. But I think it is worth syncing the new spec test 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 test fails on the Rust driver prior to the fix of RUST-2363.

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

              Created:
              Updated: