Bug in the script "wait-for-manager.sh"
Open
- Dominant language
- Dockerfile
- Stars
- 273
- Forks
- 102
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 2
Description
When I try to mount **/var/lib/postgresql/data** from worker to a local host directory in my docker-compose.yml it throws the exeption:
`chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted`
Possible solution is to change the script "wait-for-manager.sh" like that:
```
set -e
until test -f /healthcheck/manager-ready ; do
>&2 echo "Manager is not ready - sleeping"
sleep 1
done
>&2 echo "Manager is up - starting worker"
exec "/docker-entrypoint.sh" "postgres"
```
citus version: 9.4.1
postgres version: 12
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.