[SERVER-47648] Simplify single node replset stepup on initiate and reconfig Created: 17/Apr/20  Updated: 29/Oct/23  Resolved: 08/May/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc6, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Fixed Votes: 0
Labels: safe-reconfig-related
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Repl 2020-05-04, Repl 2020-05-18
Participants:
Linked BF Score: 9

 Description   

_startElectSelfIfEligibleV1() is the entry point for all other stepup code paths except initiate and reconfig. Replset initiate and reconfig set the state to kCandidate and expect state transition to recognize this state and request an election by returning kActionStartSingleNodeElection.



 Comments   
Comment by Githook User [ 13/May/20 ]

Author:

{'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com', 'username': 'visualzhou'}

Message: SERVER-47648 Simplify single node replset stepup on initiate and reconfig

(cherry picked from commit 49cc63fbb37f8a51f845c8d35bdb2f9c11219dab)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f8ca54b5fc64397be653e379fd1bc2b222620a40

Comment by Githook User [ 08/May/20 ]

Author:

{'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com', 'username': 'visualzhou'}

Message: SERVER-47648 Simplify single node replset stepup on initiate and reconfig
Branch: master
https://github.com/mongodb/mongo/commit/49cc63fbb37f8a51f845c8d35bdb2f9c11219dab

Generated at Thu Feb 08 05:14:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.