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

Add server selection tests that don't use tag sets

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Server Selection
    • None
    • Needed

      While making a change to support max staleness, I introduced a regression to the Java driver's server selection algorithm that was not caught by any of the server selection tests. The regression showed up for secondary and secondary preferred read preferences without a tag set list. The regression was that these read preferences incorrectly selected the primary, even in the presence of secondaries.

      While there were other driver-specific tests that caught the regression, I would expect the server selection tests to catch them as well.

      The request, then, is to add a set of tests for secondary, secondary preferred, and nearest read preferences without tag set lists.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: