DocumentDB global cluster secondary region failure

0

If a secondary region goes down while using the global cluster with documentdb, will documentdb failover to other running regions automatically?

I know if the primary one goes down, we need to implement an automated solution to promote a secondary region to the primary and convert the standalone promoted region to a global cluster but if a secondary region goes down, do we need to do some manual/automation to recover or if the requests are directed automatically to other running regions?

Also, if we are performing only reads from the primary region and if it goes down, do we still need to implement the automation process for failover or will it redirect the reads to a secondary region?

1 Resposta
1
Resposta aceita

Hello @awsPy,

If a secondary region goes down while using the global cluster with documentdb, will documentdb failover to other running regions automatically?

If a secondary region goes down while using the Amazon DocumentDB global cluster, DocumentDB will automatically failover to a running secondary cluster in another region. The failover process is designed to be fault-tolerant and minimize downtime.

Also, if we are performing only reads from the primary region and if it goes down, do we still need to implement the automation process for failover or will it redirect the reads to a secondary region?

Here's what happens if the primary region goes down while you're performing both reads and writes to an Amazon DocumentDB global cluster:

1. When the primary region goes down, DocumentDB will automatically fail over to a secondary region. This failover process typically takes less than 30 seconds.
2. During the failover, any writes that were in-flight to the primary region will be buffered and replayed to the new primary region once the failover is complete. This ensures that no writes are lost during the failover process.
3. Reads will be automatically redirected to the new primary region in the secondary AWS Region, ensuring high availability for both read and write operations.
4. After the failover is complete, your application can resume normal read and write operations to the new primary region. The global cluster will ensure that any data written to the secondary region during the failover is eventually replicated back to the primary region once it is restored.
AWS
phirani
respondido há um mês
profile picture
ESPECIALISTA
avaliado há um mês
  • Thank you so much! This is what I had assumed and was looking for!

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas