[CDRIVER-396] slaveOK isn't respected when passed via URI Created: 25/Jul/14  Updated: 20/Aug/14  Resolved: 20/Aug/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.98.0
Fix Version/s: 1.0.0

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 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.



 Comments   
Comment by Christian Hergert [ 20/Aug/14 ]

This is fixed in d9dfa56eb49d471db0937ceca06585b6abd067c8.

https://github.com/mongodb/mongo-c-driver/commit/d9dfa56eb49d471db0937ceca06585b6abd067c8

Comment by Mira Carey [ 25/Jul/14 ]

Driven by CS-13968

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