2015-11-26 10:11:08.0|分类: MongoDB|浏览量: 1724
The minimum architecture of a replica set has three members. A three member replica set can have either three members that hold data, or two members that hold data and an arbiter.Primary with Two Secondary MembersA replica set with three members that store data has: These deployments provide two complete copies of the data set at all times in addition to the primary. These replica sets provide additional fault tolerance and high availability. If the primary is unavailable, the replica set elects a secondary to be primary and continues normal operation. The old primary rejoins the set when available. 这个老的主副本可用的时候再加入集 Primary with a Secondary and an ArbiterA three member replica set with a two members that store data has:
Since the arbiter does not hold a copy of the data, these deployments provides only one complete copy of the data. Arbiters require fewer resources, at the expense of more limited redundancy and fault tolerance. However, a deployment with a primary, secondary, and an arbiter ensures that a replica set remains available if the primary or the secondary is unavailable. If the primary is unavailable, the replica set will elect the secondary to be primary. SEE ALSO |