-
- Downloads
Improve pgbouncer running? method
- PGBouncer commands check for if the service is running using a status check. This does not always work, as the service can be running without listening. Changed to run a command that should always work so that it verifies that PGBouncer is both running and ready. Related https://gitlab.com/gitlab-org/gitlab-orchestrator/-/issues/195 Signed-off-by:Robert Marshall <rmarshall@gitlab.com>
Showing
- changelogs/unreleased/improve-pgbouncer-running-check.yml 5 additions, 0 deletionschangelogs/unreleased/improve-pgbouncer-running-check.yml
- files/gitlab-cookbooks/gitlab-ee/recipes/pgbouncer.rb 1 addition, 0 deletionsfiles/gitlab-cookbooks/gitlab-ee/recipes/pgbouncer.rb
- files/gitlab-ctl-commands-ee/lib/pgbouncer.rb 3 additions, 1 deletionfiles/gitlab-ctl-commands-ee/lib/pgbouncer.rb
- spec/gitlab-ctl-commands-ee/lib/pgbouncer_spec.rb 20 additions, 0 deletionsspec/gitlab-ctl-commands-ee/lib/pgbouncer_spec.rb
Please register or sign in to comment