Get the App
SLTechnology News&Howtos  ›  Database  › 

The role of voting nodes in mongodb

Shulou Source: shulou.com Published: 2022-06-01 12:48:26 09月14日 Update

The voting node does not contain a copy of the dataset in the replication set and cannot be promoted to the primary node. Voting nodes exist to make the number of nodes in the replication set odd, so as to ensure that the same number of votes will not occur when voting. If you add a node, the total number of nodes is even, then you need to add a voting node accordingly.

Tags: Nodes votes same even copy odd case data quantity time points votes guarantee function Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple macOS Shulou Information Shulou Tech Info Shulou Technology