ptrdom commented on PR #407: URL: https://github.com/apache/pekko-persistence-r2dbc/pull/407#issuecomment-4708756203
I had been investigating similar issues already in the past, I can give these suggestions for improvements: 1. Use `--wait` for `docker compose up`. It waits until services are running or, if health checks are defined, healthy. 2. Use `SELECT 1` on an actual database as a health check instead of `pg_isready`. `pg_isready` can return successfully while Postgres is not actually yet fully ready. Looping until success for DDL execution should not be required with the above items being implemented. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
