You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
038: ApplyQUICClusterSelection rewrites single-backend GAMMA rules to the parent — "GAMMA stays h2" holds for weighted routes only #961
Found while writing the east-west QUIC e2e (038 PR 8), on #956.
ApplyQUICClusterSelection rewrites every route on the allow-listed service's vhost whose action is cluster: <its h2 cluster> into the matcher cluster specifier. That includes a GAMMA (HTTPRoute) rule with a single backendRef to its own parent Service, a rule with no backends, and the trailing default route — only WeightedClusters routes are left alone. #956's description and the 038 text say "GAMMA-routed destinations stay h2 in this cut", which is true only of weighted routes.
Functionally the rewritten single-backend rule is harmless (same destination, the caller's own twin). But the statement needs to be made true one way or the other:
either exclude routes that came from a GAMMA projection (they are identifiable: common/gammaproject builds them) so "GAMMA stays h2" is exact, or
extend the selection to WeightedClusters too (each weighted arm gets its per-source twin) and retire the carve-out.
The e2e's E4 tests the weighted case only and says so in its header.
Activity
docs+test(038): a single-backendRef GAMMA rule to the parent rides QU…