Skip to content

Keep serving replicas during gateway scale-out - #4565

Merged
un-def merged 1 commit into
masterfrom
issue_4564_rolling_gateway_scale_out
Dec 1, 2026
Merged

un-def merged 1 commit into
masterfrom
issue_4564_rolling_gateway_scale_out

Conversation

@un-def

@un-def un-def commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

A rolling deployment stopped every out-of-date replica it considered not receiving traffic. A replica behind a gateway only counted as receiving traffic if it was registered on every running gateway replica, and a new gateway replica becomes running before the gateway sync registers anything on it. So scaling out a gateway during a rolling deployment stopped all old replicas at once, even if no new replica was ready.

Distinguish replicas that receive traffic through some gateway replicas from ones that receive none. Only the latter are stopped right away. A new replica still has to be registered on every running gateway replica before it replaces an old one.

Fixes: #4564
Assisted-by: Claude Opus 5.5 noreply@anthropic.com

A rolling deployment stopped every out-of-date replica it considered
not receiving traffic. A replica behind a gateway only counted as
receiving traffic if it was registered on every running gateway
replica, and a new gateway replica becomes running before the gateway
sync registers anything on it. So scaling out a gateway during a
rolling deployment stopped all old replicas at once, even if no new
replica was ready.

Distinguish replicas that receive traffic through some gateway
replicas from ones that receive none. Only the latter are stopped
right away. A new replica still has to be registered on every running
gateway replica before it replaces an old one.

Fixes: #4564
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
@un-def
un-def merged commit 3ce21fb into master Dec 1, 2026
26 checks passed
@un-def
un-def deleted the issue_4564_rolling_gateway_scale_out branch December 1, 2026 11:45
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.

[Bug]: Rolling deployment stops the only serving replica when a gateway replica comes up

1 participant