Be Notify Upon Streaming Replication Failover
Be Notify Upon Streaming Replication Failover
От:
Avi Weinberg <AviW@gilat.com>
Дата:
I need to take actions when Postgres streaming replication failover occurred. Is there a way to be notified when Postgres slave becomes master? If no such notification possible, what is the best way to actively monitor which server is master. My Postgres is running inside Kubernetes and the HA is managed by Patroni.
Thanks!