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

prohibit simultaneous heartbeat reconfig and candidacy role state

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc3
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

            Assignee:
            milkie Eric Milkie
            Reporter:
            ian.whalen Ian Whalen
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: