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 deletion race #264

Merged
merged 7 commits into from
Jan 8, 2025
Merged

Fix deletion race #264

merged 7 commits into from
Jan 8, 2025

Conversation

jveski
Copy link
Collaborator

@jveski jveski commented Jan 8, 2025

It's possible for a resource to be deleted by an outside process between the time Eno gets the current state and attempts to delete it. In this case the client's delete func will return a 404 error, which we ignore. Since all errors from that function return modified=false, the controller doesn't requeue, so unless the resource has a reconciliation interval its status won't converge until the next Eno reconciler restart.

Jordan Olshevski added 7 commits January 8, 2025 22:59
@jveski jveski enabled auto-merge (squash) January 8, 2025 23:20
Copy link
Contributor

@AYM1607 AYM1607 left a comment

Choose a reason for hiding this comment

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

😿

@jveski jveski merged commit bb299e0 into main Jan 8, 2025
27 checks passed
@jveski jveski deleted the madness branch January 8, 2025 23:37
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.

None yet

2 participants