fly-apps / postgres-flex

Postgres HA setup using repmgr
87 stars 43 forks source link

Fly pg commands should verify cluster health before hand #131

Open davissp14 opened 1 year ago

davissp14 commented 1 year ago

Any fly pg ... commands that require a cluster restart should verify cluster health before running. If there's a failing health check on a standby, for example, the restart process will never complete.

This can be particularly frustrating if the failing health check is a VM check. We may need to figure out a way to ignore VM checks when waiting for the member to become healthy.