Details
-
Improvement
-
Resolution: Unresolved
-
Minor - P4
-
None
-
None
-
None
Description
Since functions like mongoc_read_prefs_set_mode do not validate the read pref, and cannot return an error, we need some other place to validate the read preference. Check _mongoc_read_prefs_validate in mongoc_topology_description_select.