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

prohibit simultaneous heartbeat reconfig and candidacy role state

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL

    Description

      It is possible that immediately before heartbeatReconfigFinish, we could transition to role Candidate. We cannot finish a reconfig while in role state Candidate. To fix this, we shall immediately call processLoseElection() if we detect that we have transitioned to role Candidate while the config state is kConfigHBReconfiguring, which will clear the Candidate role state.

      Original description:
      tags.js failing.
      Very intermittent. Mostly seen on linux 32, but also once on linux 64 dur off.

      TEST HISTORY

      LOGS

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: