Replica issue in DynamoDB

0

I am trying to create a DDB table with replica on a region. But I got an issue due to replica already existed, I guess because the table created before but remove and recreated so some cache in the service side. Now i am not able to release to create the table with replica. I even manually create the replica, but still not working. does somebody know how to delete the underlying replica?

Failed to create a the new replica of table with name: ‘AxxxDataStore-ResourceTags’ because one or more replicas already existed as tables.
Joe
已提問 7 個月前檢視次數 177 次
2 個答案
1
已接受的答案

Make sure no table with the name AxxxDataStore-ResourceTags exists in the destination region. Also make sure that no IaC code references such a replica, it must be removed from all references. Then add the replica to your existing table in the source region, you should have no issue.

profile pictureAWS
專家
已回答 7 個月前
profile picture
專家
已審閱 7 個月前
  • yeah, agree, but it doesn't recognize as a replica, a replica is a table in other region, in my case, it does have a same name table in other region which I was supposing to create in.

  • If you have an existing table in the destination region which already has that name, you must first remove it.

-1

This error typically arises when a DynamoDB table is deleted, but its replicas in other regions persist. If these replicas remain in other regions, it becomes impossible to create a new table with the same name. This is because the global table may still require that namespace within the region

When a table is deleted, it may take a few minutes to be fully removed from the backend servers. The metadata associated with the table's name may still linger. Therefore, it's advisable to wait a few minutes before attempting to recreate a table with the same name to avoid encountering an error indicating that the table already exists.

AWS
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南