You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
We have backup enabled for pgbackrest in our self hosted chart. There is a corresponding PGBACKREST_BACKUP_ENABLED environment variable that is set to true when exec-ing into the pod. Upon running reinit or adding a replica to our HA cluster the we see a message in our logs indicating the that pgbackrest restore has exited with a 1.
The pgbackrest_restore.sh should only do this if it exits on the environment variable being not true.
ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
This seemingly also as the effect where if we are writing to the primary while the replica is initializing it will start failing to find WAL files and never manage to switch over to the primary streaming replication. The only workaround thusfar is to stop all writes to the primary while the replica creates.
Did you expect to see something different?
The backup from pgbackrest should succeed.
How to reproduce it (as minimally and precisely as possible):
❯ kubectl versionWARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-14T09:47:38Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"darwin/arm64"}Kustomize Version: v5.0.1Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.17-eks-4f4795d", GitCommit:"af19e454a15b5eb16d9f29d4d2361b3050ac78a6", GitTreeState:"clean", BuildDate:"2023-10-20T23:22:36Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}WARNING: version difference between client (1.27) and server (1.24) exceeds the supported minor version skew of +/-1
Kubernetes cluster kind:
AWS EKS
Anything else we need to know?:
The text was updated successfully, but these errors were encountered:
Cross posting from slack message
What happened?
We have backup enabled for pgbackrest in our self hosted chart. There is a corresponding
PGBACKREST_BACKUP_ENABLED
environment variable that is set totrue
when exec-ing into the pod. Upon runningreinit
or adding a replica to our HA cluster the we see a message in our logs indicating the that pgbackrest restore has exited with a 1.The
pgbackrest_restore.sh
should only do this if it exits on the environment variable being not true.This seemingly also as the effect where if we are writing to the primary while the replica is initializing it will start failing to find WAL files and never manage to switch over to the primary streaming replication. The only workaround thusfar is to stop all writes to the primary while the replica creates.
Did you expect to see something different?
The backup from pgbackrest should succeed.
How to reproduce it (as minimally and precisely as possible):
Environment
Which helm chart and what version are you using?
What is in your
values.yaml
?AWS EKS
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: