If the Majority of the array is "stable" a Primary can be elected.
Watch the mongoDB logs on all servers for "glitches" in the network. If
you have these glitches going on the Majority may "flicker" at times to a
lower number of votes.
When I see these UN-expected flips in role for the Primary they show up
with a fill explanation in the logs. Most of the time they are due to
If you have a Cluster that has no votes that "select" one server over
another as the Primary ( servers have equal votes ) they may flip flop over
time due to these effects also. Watch the logs for these Flips. They have
little effect on the clients of Mongo.
I tend to "want" to elect a server have my "preferred" Primary. Even when
the servers are equal in many ways. The reason for this is Alerts. I
alert the Primary in special ways to help understand load.
Please call any time:
Edward M. Goldberg