You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Old primary demotion stalls when its PostgreSQL is unresponsive, delaying failover completion #11348
During a failover/switchover, once the cluster's target primary has moved to another instance, the instance manager on the old primary is responsible for demoting it - shutting down its PostgreSQL so the instance stops acting as a primary.
The existing demotion path (reconcileOldPrimary) first attempts a checkpoint, then a "fast" shutdown, before falling back further. When the old primary's PostgreSQL is unresponsive both of those steps are doomed.
Because the failover isn't considered complete until the old primary is demoted, this stall extends the overall write-downtime window for the cluster.
Activity
fix(controller): demote an unreachable old primary immediately during…
fix(controller): demote an unreachable old primary immediately during…
fix(controller): demote an unreachable old primary immediately during…
fix(controller): demote an unreachable old primary immediately during…