-
Notifications
You must be signed in to change notification settings - Fork 50
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
Issue 2090/route table order dependence #236
base: main
Are you sure you want to change the base?
Issue 2090/route table order dependence #236
Conversation
In the past the routes were not order independent. Whenever the API would return a different order than specified, the routes would be deleted and recreated. The `getMatchingRoute` code also returned the first route that would have a matching field like the VPCPeeringConnectionId. This resulted in routes not being stable. Now the `customPreCompare` handles routes properly, i.e. is order independent. Also the `syncRoutes` uses the computed diff, to create or delete the according routes.
Hi @gfrey. Thanks for your PR. I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gfrey The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@a-hilaly as discussed yesterday my attempt to address this:
|
/ok-to-test |
This is the issue that made the e2e tests fail.
/retest |
@gfrey: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Fixes issue #2090
Description of changes:
customPreCompare
code to take care of the routes (computing the delta ignoring the order of routes).syncRoutes
code to use the delta from the compare phase.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.