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

Migration fail if it starts before postgres is ready. #15

Open
coreyshuman opened this issue Feb 20, 2018 · 0 comments
Open

Migration fail if it starts before postgres is ready. #15

coreyshuman opened this issue Feb 20, 2018 · 0 comments

Comments

@coreyshuman
Copy link
Owner

Postgres takes a long time start up on some machines (30+ seconds).
In this situation, the migration server will try to run and will crash because Postgres will either not have opened the port yet, or it will send a incomplete startup packet.

Migration server should have a retry mechanism to keep trying until success (or container kill).

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

No branches or pull requests

1 participant