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

Add cancel token for reconcile #541

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

linyguo
Copy link
Contributor

@linyguo linyguo commented Oct 31, 2024

Fix #498

Add cancelation mechanism for reconcile:

Add a timeout limit (60min or other values) for reconcile. If the time limit reaches, the context will be canceled and reconcile will be canceled.
Add a tracking mechanism for ongoing jobs. If a delete job is queued, it will check all previous ongoing jobs and cancel them.
Add an interface to call cancel from client request
TODO
Working on tests
Add cancel token for providers

@linyguo linyguo marked this pull request as ready for review November 4, 2024 01:30
@linyguo linyguo force-pushed the users/lingyun/cancel branch from 831e1b1 to 210d6ab Compare November 8, 2024 07:35
@linyguo linyguo changed the title [draft] Add cancel token for reconcile Add cancel token for reconcile Nov 12, 2024
@linyguo linyguo force-pushed the users/lingyun/cancel branch from 1e5bef7 to 94a37ce Compare November 15, 2024 08:46
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.

Solution deployment timeout converging to final state which prevents actual error shows in instance state
4 participants