-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Because the server selection spec mandates that $readPreference is set only in certain circumstances depending on the topology and server type, we should add a topology helper that takes a Command, a ServerType, and a SelectionCriteria, and updates the Command as needed.