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

prohibit simultaneous heartbeat reconfig and candidacy role state

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL

      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

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

              Created:
              Updated:
              Resolved: