[SERVER-16455] prohibit simultaneous heartbeat reconfig and candidacy role state Created: 25/Nov/14  Updated: 18/Dec/14  Resolved: 11/Dec/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.8.0-rc3

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 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



 Comments   
Comment by Githook User [ 11/Dec/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-16455 do not start election while in hbreconfig state
Branch: master
https://github.com/mongodb/mongo/commit/5a754fb109c8506005e2393df61b8f126e1ec6ee

Generated at Thu Feb 08 03:41:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.