Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
The driver is setting both the slaveok bit in query options and {$readPreference :
{"mode" : "primary}}, and as of mongos 2.2, the read preference wins and queries are routed to shard primaries.