[SERVER-27582] lastVote is not properly initialized Created: 04/Jan/17 Updated: 05/Apr/17 Resolved: 10/Jan/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.12, 3.4.2, 3.5.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | Judah Schvimer |
| Resolution: | Done | 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 | ||||||||||||
| Backport Requested: |
v3.4, v3.2
|
||||||||||||
| Sprint: | Repl 2017-01-23 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
lastVote is initialized here. It is an error for the lastVote document to have a field other than "term" and "candidateIndex" but it has an "_id" field as well. This has gone unnoticed due to our lack of test coverage around lastVote (see |
| Comments |
| Comment by Githook User [ 24/Jan/17 ] |
|
Author: {u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}Message: (cherry picked from commit e5b42cc86c8b97c84c6bec4e9e41ea5f3064e2b4) |
| Comment by Githook User [ 20/Jan/17 ] |
|
Author: {u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}Message: (cherry picked from commit e5b42cc86c8b97c84c6bec4e9e41ea5f3064e2b4) |
| Comment by Githook User [ 10/Jan/17 ] |
|
Author: {u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}Message: |