Skip to content

reconciler/managed: only debug log transient conflict errors#498

Merged
phisco merged 1 commit intocrossplane:masterfrom
sttts:sttts-conflict-errors
Aug 6, 2023
Merged

reconciler/managed: only debug log transient conflict errors#498
phisco merged 1 commit intocrossplane:masterfrom
sttts:sttts-conflict-errors

Conversation

@sttts
Copy link
Copy Markdown
Contributor

@sttts sttts commented Aug 4, 2023

Description of your changes

Conflict errors are transient in Kubernetes and completely normal. The right reaction is to requeue, but not record the object as error'ing or creating events.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@upbound.io>
@sttts sttts requested review from a team as code owners August 4, 2023 14:33
@sttts sttts requested review from phisco and ytsarev August 4, 2023 14:33
Copy link
Copy Markdown
Contributor

@phisco phisco left a comment

Choose a reason for hiding this comment

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

Thanks @sttts, LGTM!

Copy link
Copy Markdown
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

@sttts does this directly address crossplane/crossplane#2114 - "Suppress "object has been modified" warning events"? 🤔

Copy link
Copy Markdown
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Nice! It will help to avoid confusion and heavily reduce the noise during debugging process 👍

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.

4 participants