-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
watchable: skip an update if the elements in slice have not changed, but order has #1634
Comments
might be good to get actual control plane obs data #700 before implementing this |
cc @LukeShu |
Moving the conversation to this issue as to not detract from the e2e testing issue.
My particular issue is not actually the order routes are processed (although I thought this at first). It stems from the xds TCPListener being named after a particular route. Each TLSRoute gets translated into an ir.TCPListener. But many TLSRoutes and therefore ir.TCPListener may be map to a single xds TCPListener where they are added as xds FilterChains. This ultimately leads to draining the listener when the xds TCPListener name changes. This could be due to re-ordering but even when sorted its guaranteed to be renamed when the TLSRoute that named the xds TCPListener gets deleted. I think the fix is to have a Listener Name as before #696 but also pass through the Route name which would be used as a unique mapping from a particular filter chain to a particular cluster/desination. |
hey @dboslee thanks for surfacing this limitation, agreed, creating a separate issue to track this work ! |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. |
Description:
provider
to thegateway-api
subscriber.subscriber
since it thinks there is a change in the message. It relies on reflect.DeepCopy today for comparison.Equal
method using cmp.Diff https://pkg.go.dev/github.com/google/go-cmp/cmp#Option and a custom sort option.gateway-api
Relates to #1503 (comment)
& #1365
The text was updated successfully, but these errors were encountered: