[DOCS-2336] Clarify wording for scenarios where an election is held Created: 03/Dec/13  Updated: 16/Mar/15  Resolved: 04/Sep/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.10

Type: Improvement Priority: Major - P3
Reporter: Joanna Cheng 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: 9 years, 23 weeks, 6 days ago

 Description   

http://docs.mongodb.org/manual/core/replica-set-elections/#priority-comparisons

A replica set does not hold an election as long as the current primary has the highest priority value and is within 10 seconds of the latest oplog entry in the set. If a higher-priority member catches up to within 10 seconds of the latest oplog entry of the current primary, the set holds an election in order to provide the higher-priority node a chance to become primary.

The 2 scenarios should be separated out, they are not related:

An election will not be held if the current primary has the highest priority, and is within 10 seconds of the latest oplog entry in the set.

If an electable node comes within 10 seconds of the latest oplog entry in the set, and has a higher priority than the current primary, the set holds an election in order to provide the higher-priority node a chance to become primary.



 Comments   
Comment by Githook User [ 04/Sep/14 ]

Author:

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

Message: DOCS-2336: adding paragraph break
Branch: master
https://github.com/mongodb/docs/commit/d52b1242a3e2805599e5c1f47cb0269ffe3a841e

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