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

fix(deployment): Use recreate strategy for stand in dbs #2929

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Conversation

theosanderson
Copy link
Member

@theosanderson theosanderson commented Oct 1, 2024

This prevents the stand-in databases from using rolling migrations to try to avoid race conditions where the backend runs migrations on the old DB then the new DB has no migrations.
preview URL: https://recreate.loculus.org

@corneliusroemer
Copy link
Contributor

IIUC, this prevents rolling migrations, so the db goes down immediately and doesn't wait, right?

@corneliusroemer corneliusroemer added the preview Triggers a deployment to argocd label Oct 1, 2024
@theosanderson theosanderson changed the title Use recreate strategy for stand in db fix(deployment): Use recreate strategy for stand in dbs Oct 1, 2024
@theosanderson theosanderson merged commit 4eff713 into main Oct 1, 2024
15 checks passed
@theosanderson theosanderson deleted the recreate branch October 1, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Triggers a deployment to argocd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants