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
gefragt vor 7 Monaten175 Aufrufe
2 Antworten
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 7 Monaten
profile picture
EXPERTE
überprüft vor 7 Monaten
  • 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
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen