[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: |
|
||||||||||||||||||||||||
| 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: (cherry picked from commit 84ca21e55efe1bdf97380caaa10079b613f00cac) |
| 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: |
| 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. |