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

slaveOK isn't respected when passed via URI

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.0.0
    • 0.98.0
    • None
    • None

    Description

      We accept slaveok as a valid parameter to mongoc_uri_new, but don't pass it along anywhere or respect it in the rest of the system. We should either thread it through to all calls that accept query flags, or patch it into the default client read preference as MONGOC_READ_SECONDARY.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: