[SERVER-18920] When adding/removing a replica set, is there a recommended procedure to ensure a primary gets elected ? Created: 11/Jun/15 Updated: 12/Aug/15 Resolved: 19/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | Kevin Doherty | Assignee: | Ramon Fernandez Marina |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
I currently have a live environment of 1 primary, 1 secondary and an arbiter. I need to do some protracted maintenance so I'm planning on adding another (temporary) secondary, synching up and then removing an original node to do the maintenance. When complete, the temporary box will be removed. |
| Comments |
| Comment by Kevin Doherty [ 19/Jun/15 ] |
|
Thanks Ramon - I wasn't aware of the Stack Overflow beastie. |
| Comment by Ramon Fernandez Marina [ 19/Jun/15 ] |
|
kevin.doherty@feefo.com, please review the documentation on fault tolerance for more information about this issue. You may also find useful the documentation about node priorities and their impact on elections. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Regards, |