Skip to content

Register gateway replicas with load balancer after first sync - #4569

Open
un-def wants to merge 1 commit into
masterfrom
issue_4566_register_gateway_replica_after_sync
Open

un-def wants to merge 1 commit into
masterfrom
issue_4566_register_gateway_replica_after_sync

Conversation

@un-def

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

Copy link
Copy Markdown
Collaborator

A new gateway replica was registered with the load balancer and marked running as soon as its gateway app came up. Services were registered on it only by the first sync of the running replica, at least 15 seconds later. In the meantime, the load balancer already sent requests to the replica, which answered them with the nginx default site or 404s, and then with 503s until the service replicas were registered.

Run the first sync while provisioning, before registering the replica with the load balancer. If the sync fails, the replica is terminated, like when other provisioning steps fail. Failed registrations of individual services or service replicas do not block the replica, and later syncs retry them, as on any running replica.

Part-of: #4566
Assisted-by: Claude Opus 5.5 noreply@anthropic.com

A new gateway replica was registered with the load balancer and marked
running as soon as its gateway app came up. Services were registered
on it only by the first sync of the running replica, at least 15
seconds later. In the meantime, the load balancer already sent
requests to the replica, which answered them with the nginx default
site or 404s, and then with 503s until the service replicas were
registered.

Run the first sync while provisioning, before registering the replica
with the load balancer. If the sync fails, the replica is terminated,
like when other provisioning steps fail. Failed registrations of
individual services or service replicas do not block the replica, and
later syncs retry them, as on any running replica.

Part-of: #4566
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
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