You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In managed environments, like AWS RDS or GCP CloudSQL it is necessary to run the migration from a separate machine.
Then a network issue, ec2/vm failure or similar can happen causing the db connections to drop, failing the migration in turn.
This is likely to leave the migration in an inconsistent state, being unable to neither complete nor rollback, having to cleanup manually.
Please, add option abort/cancel/force rollback that wouldn't stop on consistency errors on only partially completed migration.
The text was updated successfully, but these errors were encountered:
danzika
changed the title
Please add support to cancel a migration
Add support to abort/cancel/force rollback/ a migration
Nov 18, 2024
danzika
changed the title
Add support to abort/cancel/force rollback/ a migration
Add support to cancel/force rollback a migration
Nov 18, 2024
Thank you for opening this @danzika, do you have some logs of the errors you saw that you can share? It would be interesting to see those to diagnose the issue.
I agree overall it should be possible to recover from a failed start, either with the rollback command or something else
Actually I don't have logs for this. We just discussed this feature yesterday on a Meetup with @tsg.
So this is rather a feature request/enhancement than actual bug I have hit :)
Nice! thank you for opening. I believe as of today it's already possible to rollback a failed start. We make rollback operations idempotent so they can be run against intermediate states of start. Let's keep the issue open to double check this before closing it!
In managed environments, like AWS RDS or GCP CloudSQL it is necessary to run the migration from a separate machine.
Then a network issue, ec2/vm failure or similar can happen causing the db connections to drop, failing the migration in turn.
This is likely to leave the migration in an inconsistent state, being unable to neither complete nor rollback, having to cleanup manually.
Please, add option abort/cancel/force rollback that wouldn't stop on consistency errors on only partially completed migration.
The text was updated successfully, but these errors were encountered: