[SERVER-20374] replace electionTimeout tie-breaking factor with randomized factor Created: 11/Sep/15  Updated: 07/Oct/15  Resolved: 18/Sep/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.1.9

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-20373 implement electionTimeout timer for p... Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL 9 (09/18/15)
Participants:

 Description   

In order to be fully compliant with the Raft proof of correctness, we need to ensure that we calculate the electionTimeout tie-breaking factor using a random number as detailed in the spec. We cannot use position in the config or relative priority to influence the calculation.



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

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-20374 replica set configuration field electionTimeoutOffsetLimitMillis must be positive
Branch: master
https://github.com/mongodb/mongo/commit/3f6f2bd0b7df6bee794e91c0a1a3ab7ab7e64bc2

Comment by Githook User [ 28/Sep/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-20374 added bsonExtractIntegerFieldWithDefaultIf to support user-defined constraint on extracted value
Branch: master
https://github.com/mongodb/mongo/commit/22d0b32f071f572ae47422748f310159a1ee4ae5

Comment by Githook User [ 18/Sep/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-20374 election timeout offset added to replica set config
Branch: master
https://github.com/mongodb/mongo/commit/e42fbc4169e03c298f693198606d733ac214ba8b

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