-
Notifications
You must be signed in to change notification settings - Fork 544
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
Distributor returns 500 HTTP status code on 400 from ingester #3210
Comments
I think I know what the issue is. #3055 wraps errors from the ingesters with errors.Wrap. mimir/vendor/github.com/weaveworks/common/httpgrpc/httpgrpc.go Lines 29 to 33 in d857bf9
In turn, this makes the httpgrpc error handling break here: mimir/vendor/github.com/gogo/status/status.go Lines 144 to 146 in d857bf9
The error no longer satisfies that interface. |
Yes, any Lines 131 to 133 in d857bf9
|
Describe the bug
Between weekly-r206 and weekly-r207 a regression was introduced that causes the distributor to return a 500 status code on receiving a 400 from the ingester. This is problematic because it means remote write clients will retry the request indefinitely despite it being invalid.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The distributor should reject with the same status code as ingester.
Environment
Additional Context
The text was updated successfully, but these errors were encountered: