[SERVER-22136] Attach term metadata to UpdatePosition command Created: 11/Jan/16 Updated: 25/Jan/17 Resolved: 01/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.12, 3.3.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Siyuan Zhou |
| 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 Completed: | |||||||||||||||||
| Sprint: | Repl F (01/29/16), Repl 10 (02/19/16), Repl 11 (03/11/16), Repl 12 (04/01/16), Repl 14 (05/13/16), Repl 15 (06/03/16), Repl 2016-10-31 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
MongoDB replication protocol differs from Raft in that voters of the new primary doesn't reject fetched oplog entries from the old primary. Those stale entries will be rolled back eventually. However, if that voter reports its progress of the stale entries to the old primary before the rollback, even very rarely, the stale entries may be considered as committed. This ticket is to forward voter's current term to the old primary, making it step down. |
| Comments |
| Comment by Githook User [ 10/Jan/17 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: (cherry picked from commit 551fb26a8ad83c64ea018594c06fbda7002e996c) Conflicts: |
| Comment by Githook User [ 01/Jun/16 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: |