-
Notifications
You must be signed in to change notification settings - Fork 769
Exporter container log of replica instance always reports pg_replication_slots pq: recovery is in progress #962
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
Comments
It seems to me that pg_current_wal_lsn() function call caused this issue in queries.go Other collectors use an idiom like: To avoid this error, fix this issue or --no-collector.replication_slot option might help. |
Same problem. PostgreSQL 14.8, postgres_exporter 0.15.0 |
I'm facing the same issue.
|
Same on patroni cluster with pglogical to another cluster |
pg 13 |
I also encountered this problem, but despite the errors, replication is going correctly. |
I'm experiencing similar issues. |
What did you do?
I have set up a crunchy postgres cluster on my OpenShift cluster with 1 master and 2 replica instances. exporter container is running as sidecar container. All the replicas logs the following error message:
What did you expect to see?
Replication slots on Replicas are always inactive and in recovery mode so I don't expect to see any errors here
What did you see instead? Under which circumstances?
All replicas reports the same messages listed here:
Environment
OpenShift 4.11 on Azure
Linux 4.18.0-372.76.1.el8_6.x86_64 x86_64
postgres_exporter, version 0.10.1 (branch: HEAD, revision: 6cff384)
build user: root@eb21848025d7
build date: 20220114-17:20:30
go version: go1.17.6
platform: linux/amd64
psql (PostgreSQL) 13.6
The text was updated successfully, but these errors were encountered: