Reputation: 45
I've created a failover replica using Cloud SQL second generation, I had to delete it and create another one after a few hours, but it always prompts the following message:
"There is already an instance with that name."
I was using the same name of the failover that I deleted earlier, so I changed the name but another error occured:
"Could not complete the operation."
Now after deleting the first failover I'm unable to create another one using the same database...
Anyone got any ideas on this?
Thanks!
Upvotes: 3
Views: 452
Reputation: 1516
This behavior is indeed to be expected: one may reuse the instance name, but not right away. The instance name is unavailable for up to a week before it can be reused.
However, one cannot replicate the second try: creating a failover with a different name. Here, the procedure does work and a differently named failover database is created successfully.
More detail on the gcloud commands or GUI menus steps followed might bring light on the matter.
Upvotes: 2