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

Horizon DB migrations execute on non-ingesting instances #4580

Open
jacekn opened this issue Sep 9, 2022 · 0 comments
Open

Horizon DB migrations execute on non-ingesting instances #4580

jacekn opened this issue Sep 9, 2022 · 0 comments
Labels

Comments

@jacekn
Copy link
Contributor

jacekn commented Sep 9, 2022

What version are you using?

Horizon 2.21.0

What did you do?

Horizon 2.21.0 was deployed and it run migrations on instances that had ingesting disabled.

What did you expect to see?

I expected migrations to only run on instances with ingestion enabled.

What did you see instead?

Migrations run on non-ingesting instances and those did not have write access to the database so failed.

@bartekn said that we do check it but only when migrations are done via --apply-migrations flag not db migrate up command. https://github.com/stellar/go/pull/3586/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant