Is hidden replica treated as a normal replica?

Is 1 primary + 2 secondary + 1 hidden a bad setup? This doc suggests keeping nodes in odd no., does hidden replicas count?

You want an odd number of voting members to ensure you have a majority during an election.

Since you may configure your hidden node to be non-voting you should be fine.

If you really want your hidden node to vote during an election, it would be best to have an arbiter.

Depending of the usage for your hidden member, you might be interested in the following which I was made aware recently (thank you @chris):

3 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.