MongoDB documentation recommends against an even number of replicas due to problems with electing a primary. If one of these replicas is non-voting, does that solve the problem?
I hope the question makes sense. Basically, I have three replica sets and I want to add one without causing an election.
Posted Apr 27, 2019, 12:27 AM UTC
22
That would mean you need to decide on who does not vote. Which brings you back to the first problem. Or having to do a custom setup on that node, and you really don't want one of your nodes to be differently configured in any way, just leads to trouble down the line.
Thanks for the response and sorry for the slow reply. I was planning on doing the custom setup, what issues might that cause?