[DOCS-1848] Warning for secondaryPreferred read preference would cause unavailability in some common scenarios Created: 22/Aug/13  Updated: 11/Jan/17  Resolved: 25/Nov/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 12 weeks, 2 days ago

 Description   

http://docs.mongodb.org/manual/reference/read-preference/#secondaryPreferred

The documentation above warns against using secondaryPreferred and instead favors secondary. If you have a 3 node RS where you have 2 data nodes and an arbiter and you use secondary as opposed to secondaryPreferred. Reads will not go through if your secondary goes down or is just unreachable due to network issues, even though you have a functioning replica set. We should remove this warning and instead add an alternate warning to the secondary read preference saying secondaryPreferred is recommended.



 Comments   
Comment by Githook User [ 25/Nov/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1848: read preference edits
Branch: v2.4
https://github.com/mongodb/docs/commit/55568ec50fb043200e56ccad5c58ff7955f4f8a7

Comment by Githook User [ 25/Nov/13 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: Add a section on use cases for read preferences. DOCS-1848

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.4
https://github.com/mongodb/docs/commit/54d74f857047deddd781e1f9aeff2b22f6c1e63a

Comment by Githook User [ 25/Nov/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1848: read preference edits
Branch: master
https://github.com/mongodb/docs/commit/e42b4f8301007760a682c19c6a881ea255f7a8e1

Comment by Githook User [ 25/Nov/13 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: Add a section on use cases for read preferences. DOCS-1848

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/42133e383f8904401395eb50214745f737e746ae

Comment by A. Jesse Jiryu Davis [ 21/Oct/13 ]

Here you go: https://github.com/mongodb/docs/pull/1326

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