Samedi 05 Décembre 2026 20:40:16 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

Secondary

A replica-set member that copies operations from the primary and can be promoted during failover.

In a MongoDB replica set, a secondary is a member that copies database operations from the primary and applies them to maintain its own data. Replication is generally asynchronous, so a secondary can temporarily lag behind the primary and may not yet contain the latest changes.

Secondaries support resilience and can be elected to become the primary if the current primary becomes unavailable. This makes their replication state and promotion behavior important to both availability and security: a lagging secondary promoted during failover may face recovery problems, and flaws in transition logic can cause service disruption. Defenders should keep MongoDB patched and monitor replication lag, elections, and crashes around promotions.

← index WIKICROOK