[SERVER-20189] changing replica node follower mode under protocol version 1 while standing for election crashes Created: 28/Aug/15 Updated: 25/Jan/17 Resolved: 10/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | RPL 9 (09/18/15) |
| Participants: |
| Description |
|
The crash is due to an invariant in ReplicationCoordinatorImpl::_setFollowerModeFinish that is applicable to protocol version 0 only. |
| Comments |
| Comment by Githook User [ 08/Sep/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 08/Sep/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 08/Sep/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Eric Milkie [ 01/Sep/15 ] |
|
This is actually rolling back because there is only one op in the oplog and it is the n-op from the election. |