Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1367

Validate read preferences during server selection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • libmongoc
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: