Skip to content

Backport recent changes to 1.8.x#1874

Merged
brharrington merged 4 commits intoNetflix:v1.8.xfrom
brharrington:backport/v1.8.x
Feb 24, 2026
Merged

Backport recent changes to 1.8.x#1874
brharrington merged 4 commits intoNetflix:v1.8.xfrom
brharrington:backport/v1.8.x

Conversation

@brharrington
Copy link
Copy Markdown
Contributor

No description provided.

Ensures it will get logged and be easier to debug. If relying
on the caller it might get burried in the pekko plumbing.
When subscription delivery is delayed (e.g., due to staggered
broadcast), the websocket connection could hit the idle timeout
before any data flows. This was because the data source
(including heartbeats) was not pushed downstream until the
client sent its first subscription message.

- Push the data source on the first downstream pull instead of
  waiting for a client message, so heartbeats flow as soon as
  the websocket connects.

- Emit a default heartbeat with a 5s step when no subscriptions
  are established yet. Once subscriptions arrive, the real
  step-based heartbeats take over on the next tick.

- Add debug logging for staggered broadcast delay.
Allow the set of cluster members to be updated even if the
downstream is still working based on the injected delays.
@brharrington brharrington added this to the 1.8.2 milestone Feb 24, 2026
@brharrington brharrington changed the base branch from main to v1.8.x February 24, 2026 15:34
@brharrington brharrington merged commit b48f791 into Netflix:v1.8.x Feb 24, 2026
5 checks passed
@brharrington brharrington deleted the backport/v1.8.x branch February 24, 2026 15:46
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.

1 participant