Under PV1, ReplicationCoordinatorImpl::_handleTimePassing for a single node RS should start an election instead of auto-winning.

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.0
    • Repl 2018-05-07, Repl 2018-05-21, Repl 2018-06-04
    • 51
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Running _performPostMemberStateUpdateAction(kActionWinElection) races with the election timeout in PV1 and can lead to an invariant failure. If we instead use kActionStartSingleNodeElection instead the race will be benign and simply result in a log message about "Not standing for election again; already candidate".

              Assignee:
              Suganthi Mani
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: