[SERVER-2550] primary shouldn't demote itself if a secondary comes up that isn't any fresher Created: 14/Feb/11 Updated: 12/Jul/16 Resolved: 31/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 1.8.2, 1.9.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 |
|
http://buildbot.mongodb.org/builders/Linux%2064-bit%20DUR%20ON/builds/223/steps/test_1/logs/stdio |
| Comments |
| Comment by auto [ 14/Apr/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: do not demote primary if a secondary restarts |
| Comment by Graham Hargreaves [ 12/Apr/11 ] |
|
Can this fix be backported to 1.8 as 1.9 isn't production I believe. |
| Comment by auto [ 31/Mar/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: do not demote primary if a secondary restarts |
| Comment by Kristina Chodorow (Inactive) [ 14/Feb/11 ] |
|
Yes, there is no change in config, a secondary is just restarted. |
| Comment by Dwight Merriman [ 14/Feb/11 ] |
|
originally, on a replsetreconfig, it was intentional (albneit perhaps suboptimal) that the primary might step down and then become primary again. but if this happens when config isn't changing, that's bad. (as long as a majority stayed visible the whole time. primary steps down if it can't see a majority.) |