-
Notifications
You must be signed in to change notification settings - Fork 820
Modifying https://github.com/cortexproject/cortex/pull/4422 to retry only for GET Requests #4840
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
Modifying https://github.com/cortexproject/cortex/pull/4422 to retry only for GET Requests #4840
Conversation
85bee4c
to
f3c0d0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing by Verb only i think we should do by Verb and Path (as we do when to decide if is a Unary of Quorum.
f3c0d0f
to
8d3ac48
Compare
d388ff7
to
e9319eb
Compare
Added a check to retry only when the request is a GET request and isUnaryReadPath |
aeb4bea
to
d4198ca
Compare
d4198ca
to
1ea27ef
Compare
… AlertManager UnaryPath GET Requests on next replica if one fail. Signed-off-by: Krishna Teja Puttagunta <krishtez@amazon.com>
1ea27ef
to
8ea073f
Compare
Signed-off-by: Krishna Teja Puttagunta <krishnateja325@gmail.com>
What this PR does:
Which issue(s) this PR fixes:
Fixes Retrying AlertManager UnaryPath Requests on next replica if one fail #4422
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]