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 PostgreSQLWaitStrategy #5368

Closed
wants to merge 3 commits into from
Closed

Add PostgreSQLWaitStrategy #5368

wants to merge 3 commits into from

Conversation

eddumelendez
Copy link
Member

A more generic wait strategy for postgres. i.e Postgres has different
output when the container database has data that doesn't match with
the default wait strategy.

First evaluation looks for (db doesn't contain data):

  • PostgreSQL init process complete
  • database system is ready to accept connections

Second evaluation looks for (db contains data):

  • PostgreSQL Database directory appears to contain a database
  • database system is ready to accept connections

See gh-5359

A more generic wait strategy for postgres. i.e Postgres has different
output when the container database has data that doesn't match with
the default wait strategy.

First evaluation looks for (db doesn't contain data):
* PostgreSQL init process complete
* database system is ready to accept connections

Second evaluation looks for (db contains data):
* PostgreSQL Database directory appears to contain a database
* database system is ready to accept connections

See gh-5359
@eddumelendez
Copy link
Member Author

Close in favor of #5501

@eddumelendez eddumelendez deleted the gh-5359 branch June 22, 2023 14:39
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