Skip to content

Conversation

@erikfuller
Copy link
Contributor

What type of PR is this?
bug fix

Which issue does this PR fix:
n/a

What does this PR do / Why do we need it:
Target group deletion following service deletion is hitting a race condition where the target group is still considered associated to the service via a listener. This PR removes listeners explicitly prior to service deletion, which should ensure TGs for the service are free to delete.

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Race condition sometimes occurs running GRPC end-to-end tests.

Testing done on this change:
updated unit tests

Automation added to e2e:
ran GRPC test

Will this PR introduce any new dependencies?:
no

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
n/a

Does this PR introduce any user-facing change?:
No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

## Local Development

A minimal sanity check on changes can be done with make presubmit. This command will also run on PR.
A minimal test of changes can be done with ```make presubmit```. This command will also run on PR.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed non-inclusive/ableist language here.

Copy link
Contributor

@solmonk solmonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@solmonk solmonk merged commit f69e34c into aws:main Nov 18, 2023
@erikfuller erikfuller deleted the listener-delete branch February 5, 2024 20:58
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.

3 participants