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: race condition in readiness #28 #31

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

vknabel
Copy link
Contributor

@vknabel vknabel commented Jan 20, 2025

Description

Fixes #28
There was a race condition leading to the readiness being computed before the actual condition checks have finished. This lead to Ready: false in most cases.

@robertvolkmann
Copy link
Contributor

Why do we need Goroutines to determine the status? Everything is already calculated in reconcile().

@robertvolkmann robertvolkmann merged commit 5574304 into main Jan 21, 2025
4 checks passed
@robertvolkmann robertvolkmann deleted the fix-race-condition-in-readiness branch January 21, 2025 08:43
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.

MetalStackCluster stuck in not ready if firewall is empty
2 participants