[SERVER-20338] Strategy::queryOp() must pass secondaryPreferred read pref to ClusterFind::runQuery() if the slaveOk bit is set Created: 09/Sep/15  Updated: 19/Sep/15  Resolved: 10/Sep/15

Status: Closed
Project: Core Server
Component/s: Querying, Sharding
Affects Version/s: None
Fix Version/s: 3.1.8

Type: Bug Priority: Major - P3
Reporter: David Storch Assignee: Misha Tyulenev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Comments   
Comment by Githook User [ 10/Sep/15 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-20338 Determine the default read preference mode based on the value of the slaveOk flag in mongos
Branch: master
https://github.com/mongodb/mongo/commit/07ffaa3ca05b1aed1163b53756d642a886df0818

Comment by David Storch [ 10/Sep/15 ]

misha.tyulenev, it looks like the failure in jstests/sharding/count_slaveok.js has the same root cause.

Generated at Thu Feb 08 03:53:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.