mongodb - Do nodes with vote=0 count when trying to determine if a quorum is available? -
i have 3 member replica set. want add fourth hidden node used reporting. configuration of node priority=0, votes=0, hidden=true.
with 3 voting members, can bring down single node , still have quorum electing primary. after adding new non-voting node (which reside in remote datacenter spotty connectivity) want make sure failure of 1 of 3 voting nodes not take replica set offline if hidden node offline or can't otherwise reached replica set.
does replica set count non-voting nodes when trying determine if there enough reachable members constitute quorum, or ignored purposes of elections?
the election process ignore non-voting nodes when deciding if have quorum or when electing new primary. additionally, because priority 0, non-voting node never considered eligible candidate becoming primary anyway.
also note setting priority = 0, node never trigger election check, if goes down rest of replica set doesn't care.
however, interestingly enough, non-voting, non-eligible-for-primary node can still veto election if recognizes invalid election process.
Comments
Post a Comment