-
Type: Spec Change
-
Resolution: Unresolved
-
Priority: 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.