Skip to content

Propagate options-only route changes immediately in route-emitter#1155

Merged
ameowlia merged 2 commits into
cloudfoundry:developfrom
Samze:route_options_fix
Jul 13, 2026
Merged

Propagate options-only route changes immediately in route-emitter#1155
ameowlia merged 2 commits into
cloudfoundry:developfrom
Samze:route_options_fix

Conversation

@Samze

@Samze Samze commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Fixes #1154

Factor in Route options and perform a route register without unregistering.

Summary

When only a route's options changed (e.g. loadbalancing strategy), route-emitter does not emit the update. It only happens on the next periodic heartbeat. This happened because diffRoutes does not factor in Route Options changes.

diffRoutes now also emits route registration for when options have changed.

Backward Compatibility

Breaking Change? No

@Samze Samze force-pushed the route_options_fix branch 2 times, most recently from a649c44 to 96464c0 Compare July 2, 2026 19:01
@Samze Samze marked this pull request as ready for review July 8, 2026 20:49
@Samze Samze requested a review from a team as a code owner July 8, 2026 20:49
Comment thread src/code.cloudfoundry.org/route-emitter/routingtable/endpoint.go
@Samze Samze requested a review from ameowlia July 9, 2026 21:26
Factor in Route options and perform a route register without
unregistering.
@Samze Samze force-pushed the route_options_fix branch from 3ff7a47 to e064cac Compare July 9, 2026 22:03
And make test fixture names consistent with other tests.
@Samze Samze force-pushed the route_options_fix branch from e064cac to 62c3359 Compare July 10, 2026 19:19
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Jul 13, 2026
@ameowlia ameowlia merged commit adaab35 into cloudfoundry:develop Jul 13, 2026
10 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

Route Options-only change not propagated until next periodic heartbeat

2 participants