Worker nodes get error when specifying different PGDATA path
Open
- Dominant language
- Dockerfile
- Stars
- 273
- Forks
- 102
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 2
Description
When specifying a different PGDATA path value (ex: attaching another volume to /pgdata), worker nodes will get an error on startup because the postgres user does not own the directory.
The coordinator node handles this fine because it changes the directory's ownership automatically.
Prepending wait-for-manager.sh with `chown -R postgres "$PGDATA"` fixes the issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.