Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for pgres startup completed, by checking a file in a shared volume #1749

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

y0urself
Copy link
Member

@y0urself y0urself commented Dec 1, 2021

What:

Why:

  • In the postgres image startup script we restart postgres, gvmd fails if it connects to postgres before restart.
  • In the postgres startup script a file is touched after stopping the postgres process and before the restart
  • thus we now wait until the file exists and wait in another loop until the process is started.

How did you test it:

Checklist:

  • Tests
  • PR merge commit message adjusted

@y0urself y0urself marked this pull request as ready for review December 3, 2021 12:44
@y0urself y0urself requested a review from a team as a code owner December 3, 2021 12:44
@bjoernricks bjoernricks enabled auto-merge December 3, 2021 13:17
@bjoernricks bjoernricks merged commit 5f70a32 into main Dec 3, 2021
@bjoernricks bjoernricks deleted the y0urself/main branch December 3, 2021 13:21
bjoernricks added a commit that referenced this pull request May 23, 2022
Check for pgres startup completed, by checking a file in a shared volume (backport #1749)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants