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?

awsPy
已提问 1 个月前78 查看次数
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
已回答 1 个月前
profile picture
专家
已审核 1 个月前
  • Thank you so much! This is what I had assumed and was looking for!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则