[DOCS-1120] improve example to change priority of node to 0 (secondary-only) when primary Created: 13/Feb/13  Updated: 30/Oct/23  Resolved: 22/Feb/13

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

Type: Improvement Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Ed Costello
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-3815 replica sets: can't set priority of ... Closed
Participants:
Days since reply: 10 years, 49 weeks, 2 days ago

 Description   

Referring to http://docs.mongodb.org/manual/administration/replica-sets/#secondary-only-members

The example sets the members[0] node's priority to 0. Unfortunately, the 0th node is often the primary. Changing the primary's priority to 0 is not possible at the moment, see SERVER-3815.

I suggest to reverse the order of priorities in the example, so that the 0th node has the highest priority, to reduce the chance that users run into this problem. The explanation below would have to be changed as well.

In addition, I'd mention (in a warning box) that the current primary's priority cannot be changed to 0 without stepping the node down first.



 Comments   
Comment by auto [ 11/Mar/13 ]

Author:

{u'date': u'2013-03-11T23:16:34Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: style: update note related to DOCS-1120
Branch: master
https://github.com/mongodb/docs/commit/fa08d6a6f275be3558c97ad6b43c6bc7d734c095

Comment by auto [ 11/Mar/13 ]

Author:

{u'date': u'2013-03-11T23:16:34Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: style: update note related to DOCS-1120
Branch: v2.2
https://github.com/mongodb/docs/commit/2bee419bfc5797849980a2781e185e663987ad91

Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-22T21:54:15Z', u'name': u'Ed Costello', u'email': u'epc@10gen.com'}

Message: DOCS-1120 improve replica set priority documentation
Branch: master
https://github.com/mongodb/docs/commit/f349cbb81fd6bf0fd8fdf35b222f3d6cda89f0e7

Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-18T20:22:52Z', u'name': u'Ed Costello', u'email': u'epc@10gen.com'}

Message: DOCS-1120 replica set priorities / fix intradocument links
Branch: master
https://github.com/mongodb/docs/commit/90fdc0b7639b842603d6f51dc0040d8d008b66ed

Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-18T20:05:14Z', u'name': u'Ed Costello', u'email': u'epc@10gen.com'}

Message: DOCS-1120 improve example of replica set priorities when primary
Branch: master
https://github.com/mongodb/docs/commit/7943cd01439266c48bbaff378ce8fb4781d66b35

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