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

RHCLOUD-36896 | refactor: increment errors counter when retries have been depleted #242

Conversation

MikelAlejoBR
Copy link
Member

What?

Increment the "processed errors" counter only when all the retries have been depleted.

Why?

Right now if an error occurs when attempting to store the payload in the first attempt, the "processing errors" counter is incremented, even if that payload might be properly stored in a second attempt.

This might trigger alerts that actually do not really need any attention, since the payloads might be getting updated correctly.

Jira ticket

[RHCLOUD-36896]

Right now if an error occurs when attempting to store the payload in the
first attempt, the "processing errors" counter is incremented, even if
that payload might be properly stored in a second attempt.

This might trigger alerts that actually do not really need any
attention, since the payloads might be getting updated correctly.

RHCLOUD-36896
Copy link
Contributor

@dehort dehort left a comment

Choose a reason for hiding this comment

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

Looks good! Let's try it out.

@dehort dehort merged commit 53095e0 into RedHatInsights:master Dec 12, 2024
10 of 11 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