[SERVER-20844] Start ReplSetTests faster wrt initial election Created: 09/Oct/15  Updated: 05/Apr/17  Resolved: 23/Jan/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.3, 3.5.2

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Jack Mulrow
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-27807 creating a snapshot and registering i... Closed
related to SERVER-27854 initiate replicasets faster in replic... Closed
is related to SERVER-27839 Allow for step downs during reconfig ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Repl 2017-01-23, Repl 2017-02-13
Participants:
Linked BF Score: 0

 Description   

We can start the replica set as a single node so that there is no election timeout/delay, and the reconfig to the full set membership. This should reduce the initial startup time.



 Comments   
Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'jsmulrow', u'name': u'Jack Mulrow', u'email': u'jack.mulrow@mongodb.com'}

Message: SERVER-20844 Start ReplSetTests faster wrt initial election

(cherry picked from commit 84ca21e55efe1bdf97380caaa10079b613f00cac)
Branch: v3.4
https://github.com/mongodb/mongo/commit/0e1edc1a13cf6dfaa51f36ec2584a73b0fbf97df

Comment by Githook User [ 23/Jan/17 ]

Author:

{u'username': u'jsmulrow', u'name': u'Jack Mulrow', u'email': u'jack.mulrow@mongodb.com'}

Message: SERVER-20844 Start ReplSetTests faster wrt initial election
Branch: master
https://github.com/mongodb/mongo/commit/84ca21e55efe1bdf97380caaa10079b613f00cac

Comment by Judah Schvimer [ 03/Jan/17 ]

As part of this ticket, please remove all references to stepUp used to guarantee nodes[0] is primary and replace them with a comment explaining that the test is relying on behavior from this ticket.

Also, please throw an exception if nodes[0] is unelectable.

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