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

Fixed response status code while iterating chunks in the blocks storage #2402

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Apr 3, 2020

What this PR does:
While working on the fix for #2396 I've realised Cortex was returning 422 status code on error while iterating chunks. This PR fixes it, considering it a storage error, which leads to Prometheus engine returning 500 (manually tested).

Which issue(s) this PR fixes:
N/A

Checklist

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

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci force-pushed the fix-error-status-code-on-error-while-iterating-seres branch from df3474e to bb4db19 Compare April 3, 2020 17:07
@pracucci pracucci merged commit acd6029 into cortexproject:master Apr 3, 2020
@pracucci pracucci deleted the fix-error-status-code-on-error-while-iterating-seres branch April 3, 2020 17:32
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.

2 participants