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

Fix the deadlock between rollout and self healing controller #259

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

chihshenghuang
Copy link
Contributor

There is a deadlock issue when specify composition should ignore side effect.

Initially, the resource slice self-healing controller detects that no resource slice exists and sets the composition's pending re-synthesis time to trigger the re-creation of the resource slice. Subsequently, the rollout controller removes the pending re-synthesis time upon finding that the composition is configured to ignore side effects.

The self-healing controller then receives the composition update event and still finding no resource slice, sets the pending re-synthesis time again to re-create the resource slice. The rollout controller receives the subsequent update event and removes the pending re-synthesis time again to ignore side effects.

@chihshenghuang chihshenghuang merged commit bf707c8 into Azure:main Jan 6, 2025
13 checks passed
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