-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Description
Currently, the Presto coordinator service in the docker-compose.yaml configuration has a healthcheck defined, but the worker service does not. This creates a potential issue where users running docker compose up --detach --wait may see services reported as started successfully, while the worker service could be silently failing.
Without a healthcheck on the worker, Docker Compose cannot accurately determine if the worker service is healthy and ready, which may cause confusion about the actual status of the Presto cluster.
Context
Raised by @junhaoliao during review of PR #1132.
- PR: feat(presto-clp): Add Docker compose setup for Presto cluster that can connect to clp-json. #1132
- Review comment: feat(presto-clp): Add Docker compose setup for Presto cluster that can connect to clp-json. #1132 (comment)
Expected Behaviour
The worker service should have an appropriate healthcheck defined so that Docker Compose can correctly report the service status when using the --wait flag.
Metadata
Metadata
Assignees
Labels
No labels