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

Add retry on Delete silence #5794

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Add retry on Delete silence #5794

merged 1 commit into from
Mar 5, 2024

Conversation

euniceek
Copy link
Contributor

@euniceek euniceek commented Mar 1, 2024

What this PR does:
This PR adds retry on delete silence.

Which issue(s) this PR fixes:
Fixes #5780

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@euniceek euniceek force-pushed the master branch 2 times, most recently from 3a0168c to 860da24 Compare March 1, 2024 17:22
@euniceek euniceek marked this pull request as ready for review March 1, 2024 20:43
Copy link
Contributor

@emanlodovice emanlodovice left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Changes look good. Thanks. Can we also update the comment here https://github.com/cortexproject/cortex/blob/master/pkg/alertmanager/distributor.go#L257

Now it is non Get and non Delete

		//Picking 1 instance at Random for Non-Get Unary Read requests, as shuffling through large number of instances might increase complexity

@yeya24 yeya24 enabled auto-merge (squash) March 5, 2024 21:33
@yeya24 yeya24 merged commit fbd0bb6 into cortexproject:master Mar 5, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retry alertmanager delete silence when one instance fails
3 participants