Skip to content
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

Respect ctx cancel #780

Merged
merged 1 commit into from
May 19, 2023
Merged

Conversation

TheRealHaoLiu
Copy link
Member

I think there's a race condition between controller and receptor

controller see the job finished and try to cancel workunit

receptor does not respect the cancel and continue to do GET to kube apiserver with a dead ctx which cause a very misleading error message

client rate limiter Wait returned an error: context canceled

I think there's a race condition between controller and receptor

controller see the job finished and try to cancel workunit

receptor does not respect the cancel and continue to do GET to kube apiserver with a dead ctx which cause a very misleading error message
```
client rate limiter Wait returned an error: context canceled
```
Copy link
Contributor

@AaronH88 AaronH88 left a comment

Choose a reason for hiding this comment

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

lgtm

@AaronH88 AaronH88 merged commit 81e3e00 into ansible:devel May 19, 2023
@TheRealHaoLiu TheRealHaoLiu deleted the respect-ctx-cancel branch May 22, 2023 12:59
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.

2 participants