fly-apps / postgres-flex

Postgres HA setup using repmgr
96 stars 46 forks source link

Leverage repmgr's built-in health checks #102

Open davissp14 opened 1 year ago

davissp14 commented 1 year ago
repmgr node check

Node "fdaa:0:2e26:a7b:c850:fa7a:5336:2":
    Server role: OK (node is primary)
    Replication lag: OK (N/A - node is primary)
    WAL archiving: OK (0 pending archive ready files)
    Upstream connection: OK (N/A - node is primary)
    Downstream servers: OK (2 of 2 downstream nodes attached)
    Replication slots: OK (2 of 2 physical replication slots are active)
    Missing physical replication slots: OK (node has no missing physical replication slots)
    Configured data directory: OK (configured "data_directory" is "/data/postgresql")
guillaumervls commented 1 year ago

Being addressed in https://github.com/fly-apps/postgres-flex/pull/142 (paused - reopen to pick back up)

benwaffle commented 5 months ago

would this also return an error for paused nodes?