[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 |