[SERVER-4799] Race condition between election and sync threads Created: 27/Jan/12  Updated: 11/Jul/16  Resolved: 27/Jan/12

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.1.0

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

Operating System: ALL
Participants:

 Description   

If a member is elected primary when the sync thread is at a certain point, the sync thread will check if the member is a secondary (which it isn't, it's primary) and then make it "go live" by changing its state to secondary. See http://buildbot.mongodb.org/builders/Windows%2064-bit%202008%2B/builds/93/steps/test/logs/stdio.



 Comments   
Comment by auto [ 27/Jan/12 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: Check that the member is not primary before making it a secondary SERVER-4799
Branch: master
https://github.com/mongodb/mongo/commit/e0bacd9eb2f4adf77de61c21c5bce64c75a13509

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