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.

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Repl 2018-05-07, Repl 2018-05-21, Repl 2018-06-04
    • Linked BF Score:
      51

      Description

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

        Attachments

          Activity

            People

            Assignee:
            suganthi.mani Suganthi Mani
            Reporter:
            matthew.russotto Matthew Russotto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: