Docs HomeMongoDB Manual

Replica Set High Availability副本集高可用性

Replica sets use elections to support high availability.副本集使用选举来支持高可用性

Replica Set Elections副本集选择
Elections occur when the primary becomes unavailable and the replica set members autonomously select a new primary.当主副本变得不可用并且副本集成员自主选择新的主副本时,将进行选择。
Rollbacks During Replica Set Failover副本集故障转移期间的回滚
A rollback reverts write operations on a former primary when the member rejoins the replica set after a failover.当成员在故障转移后重新加入副本集时,回滚将恢复对以前主成员的写操作。