-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roll back problematic mysql db migrations (issue #813) #814
Roll back problematic mysql db migrations (issue #813) #814
Conversation
- due to issue #813 (with mysql) we have rolled back all DB related changes: 030302a 873bc6d 34afece which we previously released. - since theere is no issue with postgres, it safer to NOT remove the already-released DB migrations so that various consumers's postgres DB states do not diverge. So this commit brings back all those already-release postgres DB migration.
I see. So for the change in 2.12.69, which I think that we deleted the migration sql files, it would have been better if we just changed the content of the sql file instead, i.e. to no-op. Then we could see the last-used migration script verison number in the source. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that this deleting migration sql files is going to work. However, can you actually test the upgrade scenario if you have not done so?
Upgrade scenario testing results:
notesfrom the mysql migrations directory history, we can see that there was never a v57, only v57_2, which flyway recognizes as different. If we add back v57, it is still fine after this path: b0dd9ef (contains
So I think I would opt to add back v57, so one less problem to solve in the future. |
Likely closing this in favor of #815 |
closing this in favor of #815 |
This PR, as a whole, rolls back all the DB migrations that caused* #813 but let the postgres migrations (which do not have problems) stay so as to not create unnecessary divergence in users's postgres DB states.
*root cause analysis: