Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34102

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

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

      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@mongodb.com Suganthi Mani
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: