[SERVER-18669] primary should step down if it sees a higher term in new consensus protocol Created: 26/May/15  Updated: 19/Sep/15  Resolved: 02/Jun/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.1.3
Fix Version/s: 3.1.4

Type: Bug Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Matt Dannenberg
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
Participants:

 Description   

When a node sees a term higher than that of which it was previously aware, a new primary has called for an election. If node is primary when it becomes aware of a newer term, it ought to step down to avoid a two primary state.



 Comments   
Comment by Githook User [ 02/Jun/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-18669 add updateTerm() in ReplicationCoordinator to detect need to stepdown when term changes while primary
Branch: master
https://github.com/mongodb/mongo/commit/c561f5178239654cfbf14d398ab0fea1f08f5002

Generated at Thu Feb 08 03:48:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.