-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
mongoc-1.2.0-rc0[-dev] has couple of fixes that affect phongo.
#1: The server_id can no longer be overwritten to -1 on a cursor.
This means phongo has to check if it has server_id/hint before overwriting the cursor->hint
#2: queries to standalone servers no longer contain $readPreferences
That was a bug, $readPreferences should only be sent to mongos.
- is related to
-
CDRIVER-704 $readPreference sent to non-mongos
- Closed