[SERVER-30138] make node 1 unelectable in initial_sync_invalid_views.js (3.4) Created: 14/Jul/17 Updated: 30/Oct/23 Resolved: 14/Jul/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.4.6 |
| Fix Version/s: | 3.4.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
On slow machines, it is possible for the primary in the current replica set configuration used in initial_sync_invalid_views.js to step down immediate after increasing the number of nodes in the set from 1 to 2. Since the goal of the test is to test secondary oplog application behavior and not the election protocol, we should make the new secondary unelectable as we are adding it to the existing one-node replica set. |
| Comments |
| Comment by Githook User [ 14/Jul/17 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Benety Goh [ 14/Jul/17 ] |
|
This work will be done directly on the 3.4 branch because the test no longer exists in master. See |