[DOCS-8364] Comment on: "manual/reference/method/Mongo.setReadPref.txt" Created: 15/Jul/16  Updated: 30/Oct/23  Resolved: 12/Jul/23

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Mark Helmstetter Assignee: Grace Miller (Inactive)
Resolution: Done Votes: 0
Labels: bugfix, collector-298ba4e7, quick-win, server-docs-bug-bash
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/method/Mongo.setReadPref/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Referrer: https://docs.mongodb.com/manual/tutorial/write-scripts-for-the-mongo-shell/
Screen Resolution: 1920 x 1200


Participants:
Days since reply: 7 years, 30 weeks, 5 days ago

 Description   

The behavior of specifying a secondary read preference should be clarified here, to note that when connect to the primary via the mongo shell, calling setReadPref("secondary") will not route queries to secondary.


Generated at Thu Feb 08 07:56:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.