[CDRIVER-1367] Validate read preferences during server selection Created: 08/Jul/16  Updated: 07/Mar/23

Status: Backlog
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.


Generated at Wed Feb 07 21:12:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.