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

🐛 cluster refresh atomic. #682

Closed
wants to merge 1 commit into from

Conversation

jortel
Copy link
Contributor

@jortel jortel commented Jul 2, 2024

The task Manager.Create() uses the cluster which can have a race condition of being refreshed.
This makes the refresh atomic (by resource kind).

@jortel jortel added this to the v0.5.0 milestone Jul 2, 2024
Copy link
Collaborator

@mansam mansam left a comment

Choose a reason for hiding this comment

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

LGTM

@shawn-hurley
Copy link
Contributor

I wonder if using a sync RWMap here might be safer?

@shawn-hurley
Copy link
Contributor

I think that once this goes green, this will, to a hopefully large extent help with the KindError inconsistency that is in CI.

Going to merge once green

@jortel
Copy link
Contributor Author

jortel commented Jul 5, 2024

closed in favor of: #703

@jortel jortel closed this Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants