Skip to content
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

add idempotent mode #55

Merged
merged 1 commit into from
Apr 29, 2024
Merged

add idempotent mode #55

merged 1 commit into from
Apr 29, 2024

Conversation

tbicr
Copy link
Owner

@tbicr tbicr commented Apr 24, 2024

As this backend doesn't use transactions for migrations any failed migration can be cause of stopped process in intermediate state.

And in intermediate state there cannot be possible to rollback automatically already applied changes or reapply migration, so manual fix required.

To avoid manual schema manipulation idempotent mode allows to rerun failed migration after fixed issue (eg. data issue or long running CRUD queries).

@tbicr tbicr force-pushed the idempotent-mode branch 13 times, most recently from 680cc37 to 8c6a3ed Compare April 29, 2024 10:00
@tbicr tbicr force-pushed the idempotent-mode branch from 8c6a3ed to 3119d27 Compare April 29, 2024 14:38
@tbicr tbicr merged commit b85a56d into master Apr 29, 2024
2 checks passed
@tbicr tbicr deleted the idempotent-mode branch April 29, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant