Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Conversation

@marcelorauldiaz
Copy link
Contributor

This PR solve the following issue :

ERROR:  recovery is in progress
HINT:  WAL control functions cannot be executed during recovery.

Since pg_current_wal_lsn() execution is not allowed on replica instances pg_last_wal_replay_lsn() is used.

…stance and pg_current_wal_lsn execution is not allowed
@pashagolub pashagolub changed the title Fix of replication slots metrics when it's executed on the replica instances. [-] fix replication slots metrics for replica instances Apr 24, 2024
@pashagolub pashagolub assigned pashagolub and unassigned markwort Apr 24, 2024
@pashagolub pashagolub added the bug label Apr 24, 2024
@pashagolub pashagolub merged commit 35fbf79 into master Apr 24, 2024
@pashagolub pashagolub deleted the fix-replication-slots-on-replica branch April 24, 2024 13:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants