Validate read preferences during server selection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: