[SERVER-6376] Tag replica set nodes without election or reconnections Created: 10/Jul/12 Updated: 11/Jul/16 Resolved: 03/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Sean Laurent | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
I'd like to add tags to existing nodes in our replica sets (mostly to identify the Amazon Availability Zone), but it looks like the easiest way to do that is to modify the config and run rs.reconfig(cfg). Since running rs.reconfig() has the potential to trigger an election, it would be fantastic to have a way to modify tags for replica set nodes without the chance of an election or the nodes dropping existing connections. |
| Comments |
| Comment by auto [ 24/Sep/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: fixes problems caused by |
| Comment by auto [ 04/Sep/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by auto [ 03/Sep/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by Scott Hernandez (Inactive) [ 13/Aug/12 ] |
|
Sean, I updated this a little to indicate you want a way to add/change tags where there is no chance for elections nor should connections be reset. We should also do this for many other config changes with replica sets, like hiding nodes. |
| Comment by Eliot Horowitz (Inactive) [ 11/Jul/12 ] |
|
I think what we really want is for a reconfig just not to trigger an election if it isn't needed. |