Skip to content

docs(failover): explain hung kubelet and instance manager case - #11838

Merged
gbartolini merged 1 commit into
mainfrom
dev/10591
Nov 10, 2026
Merged

gbartolini merged 1 commit into
mainfrom
dev/10591

Conversation

@mnencia

@mnencia mnencia commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

When the kubelet and the instance manager of the primary both hang, the walsenders keep the replicas' WAL receivers connected and the failover waits for them. The code already stops the old primary when either one still works (#11347, #11357, #11358). Document the recovery when neither does: the kubelet systemd watchdog plus a short liveness probe grace period. Otherwise the container kill waits for the pod grace period, 30 minutes by default.

Closes #10591

@mnencia
mnencia requested a review from a team as a code owner November 3, 2026 10:06
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.28 release-1.30 labels Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@mnencia mnencia added do not backport This PR must not be backported - it will be in the next minor release and removed backport-requested ◀️ This pull request should be backported to all supported releases release-1.28 release-1.30 labels Nov 3, 2026
@mnencia

mnencia commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

/ok-to-merge doc only

When the kubelet and the instance manager of the primary both hang, the
walsenders keep the replicas' WAL receivers connected and the failover
waits for them. The code already stops the old primary when either one
still works. Document the recovery when neither does: the kubelet
systemd watchdog plus a short liveness probe grace period. Otherwise the
container kill waits for the pod grace period, 30 minutes by default.

Closes #10591

Signed-off-by: Marco Nenciarini <[email protected]>
@gbartolini
gbartolini merged commit fd13e85 into main Nov 10, 2026
@gbartolini
gbartolini deleted the dev/10591 branch November 10, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not backport This PR must not be backported - it will be in the next minor release ok to merge 👌 This PR can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Failover blocked indefinitely when walsender survives on zombie node (storage failure with kernel alive)

4 participants