Simplify single node replset stepup on initiate and reconfig

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2020-05-04, Repl 2020-05-18
    • 9
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      _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.

            Assignee:
            Siyuan Zhou
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: