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

Gocardless v0.17.0+ #149

Merged
merged 23 commits into from
Apr 26, 2022
Merged

Gocardless v0.17.0+ #149

merged 23 commits into from
Apr 26, 2022

Conversation

dyson
Copy link
Contributor

@dyson dyson commented Apr 26, 2022

Update stolon-pgbouncer playground to use the latest gocardless stolon fork (gocardless-v0.17.0+).

In doing so new features were added to the playground allowing for easier testing of our fork.

A number of updates were also made to get off our pgbouncer_exporter fork and to update the acceptance tests as circleci was deprecating the old ubuntu vm image used.

dyson and others added 23 commits March 9, 2022 18:24
Bumped go to 1.17 and ran `go get -u ./...` and `go mod tidy` to update the
dependencies.
Upgrates:
- ubuntu to 20.04
- stolon to gocardless-v0.17.0+
- postgres to v14
- pgbouncer_exporter to current master
Start an extra Stolon proxy in replica mode.
Configure both PGBouncers to use the replica
Revert "Don't require ignore_startup_parameters"
* Add an extra volume for WAL data
* Enable it in 2 out of 3 keepers
Bump the stolon-fork to a version that supports setting the wal dir.
…wal_dir

CI-1281: Add support for configurable WAL dir in testing
Fixup title for the `stolon_proxy_update_proxy_info_errors` panel to be
`Cluster Data Update Errors`.
Bump the sha in the stolon-development branch to the latest version of
our stolon-fork (gocardless-v0.17.0+).
While we had set `usePgrewind` to true in the cluster spec in the
playground we were never using pg_rewind as we we using the `trust` auth
method for the posgres su user.

Setting is back to the default of `md5` as well as supplying a pg su
user and password to the keeper is required for pg_rewind.

We also bump the stolon fork to the latest sha in gocardless-v0.17.0+
which has some pg_rewind specific changes in it that we wanted to test
hence the enabling of pg_rewind above.
Bump the fork of stolon in the playground to the latest gocardless
version.
Bumps the stolon version in the docker playground to the latest version
of the gocardless-v0.17.0+ fork.
Bump the stolon-pgbouncer images and get acceptance tests working again.
Increase the number of time supervisord will restart pgbouncer_exporter
on start up. The cluster takes some time to come up and if it is slow we
risk reaching the current `startretries` limit of `10`. Bump this to
`20` to ensure we retry for long enough.
Configure pgbouncer and the acceptance to use the stolon su in postgres.
This changed when the stolon user was set as the postgres su to allow
pg_rewind to function with the correction user permissions.
Older ubuntu images are being deprecated from circleci. The acceptance
tests used an old ubuntu image which we now bump to ubuntu 20.04.
Tag and publish the latest docker images to dockerhub.
Bump stolon to latest gocardless fork
Update the pgbouncer_exporter connection string to use the correct user
and password.
Fixup pgbouncer_exporter connection string
@dyson dyson merged commit 5bd9545 into master Apr 26, 2022
@dyson dyson deleted the gocardless-v0.17.0+ branch April 26, 2022 00:59
ttamimi pushed a commit that referenced this pull request Aug 29, 2024
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.

3 participants