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

Add server selection tests that don't use tag sets

    XMLWordPrintableJSON

Details

    • Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • Server Selection
    • None
    • Needed

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: