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

Monitor PostgreSQL replication slots #274

Open
dmetzger57 opened this issue Feb 26, 2020 · 1 comment
Open

Monitor PostgreSQL replication slots #274

dmetzger57 opened this issue Feb 26, 2020 · 1 comment

Comments

@dmetzger57
Copy link
Contributor

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1445291

In some cases it is possible for PostgreSQL replication slots [1] to exist without having the changes they track consumed.

This can happen if a HA standby server fails and is not brought back online or if a global region database is not responding.

This is fairly simple to check for by inspecting the pg_replication_slots view's "active" column [2]. I'm suggesting that ManageIQ/CFME implement some monitoring for inactive replication slots and raise an event/notification if they persist for some set amount of time.

[1] https://www.postgresql.org/docs/9.5/static/warm-standby.html#STREAMING-REPLICATION-SLOTS
[2] https://www.postgresql.org/docs/9.5/static/view-pg-replication-slots.html

@miq-bot
Copy link
Member

miq-bot commented Jun 11, 2020

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.

@miq-bot miq-bot added the stale label Jun 11, 2020
@gtanzillo gtanzillo added pinned and removed stale labels Jul 13, 2020
@chessbyte chessbyte changed the title Monitor PostreSQL replication slots Monitor PostgreSQL replication slots Jul 27, 2020
@gtanzillo gtanzillo added bug and removed pinned labels Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants