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개 답변
1
수락된 답변

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
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • Thank you so much! This is what I had assumed and was looking for!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠