Skip to content

fix(hookd): recover clusters after dispatch stream failure#337

Merged
Muni10 merged 1 commit into
masterfrom
haproxy_http2_fix
Jun 1, 2026
Merged

fix(hookd): recover clusters after dispatch stream failure#337
Muni10 merged 1 commit into
masterfrom
haproxy_http2_fix

Conversation

@x10an14-nav
Copy link
Copy Markdown
Contributor

A failed stream.Send means the registered deployd stream can no longer be trusted.
Leaving that stream in onlineClustersMap can keep later deploys routed to dead state and block a clean deployd reconnect.
The observed RST_STREAM failure does not prove HAProxy caused the reset, but it exposed a stale-registration path that hookd should treat as terminal.

A failed `stream.Send` means the registered `deployd` stream can no longer be trusted.
Leaving that stream in `onlineClustersMap` can keep later deploys routed to dead state and block a clean `deployd` reconnect.
The observed `RST_STREAM` failure does not prove `HAProxy` caused the reset, but it exposed a stale-registration path that `hookd` should treat as terminal.
@x10an14-nav
Copy link
Copy Markdown
Contributor Author

Forsøk på kort/konsis write-up av hvorfor dette burde kunne fikse problemet: https://gist.github.com/x10an14-nav/0d91596335eb38dd2df3fe8ba85a4b38

@Muni10
Copy link
Copy Markdown
Contributor

Muni10 commented Jun 1, 2026

Jeg merger denne for å se om dette løser problemet vårt.

@Muni10 Muni10 merged commit 6cdbd2f into master Jun 1, 2026
12 checks passed
@Muni10 Muni10 deleted the haproxy_http2_fix branch June 1, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants