Skip to content

Add healthcheck to Presto worker service in docker-compose.yaml #1504

@coderabbitai

Description

@coderabbitai

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.

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions