[SERVER-16391] Ensure jstests are agnostic to primary election Created: 26/Nov/14 Updated: 11/Jul/16 Resolved: 03/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ian Whalen (Inactive) | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Only seen once:
|
| Comments |
| Comment by Githook User [ 03/Dec/14 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Githook User [ 03/Dec/14 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Eric Milkie [ 02/Dec/14 ] |
|
There is no guarantee that a higher priority node will be elected first in a replica set. We will need to fix all jstests that assume this. Most of the tests can be fixed by prohibiting other nodes from standing for election, by assigning them a priority of 0. |
| Comment by Ian Whalen (Inactive) [ 01/Dec/14 ] |
|
Saw a similar error message in rollback3.js: http://buildlogs.mongodb.org/MCI_windows-64/builds/372141/test/replicasets_0/rollback3.js milkie what's the probability this is the same underlying problem? |