-
Notifications
You must be signed in to change notification settings - Fork 550
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
ingester: Improve error message when thanos.shipper.json is invalid #1242
Conversation
b96d7bf
to
b83b838
Compare
Maybe it's worth upstreaming this change to Thanos and leaving a TODO here to update once it's merged there? |
@colega could be - I'm also unsure if we want to keep depending on Thanos in the future? |
I don't know 🤷 |
b83b838
to
34dd389
Compare
Converting PR to draft, since I've made an upstream PR instead and consensus is to wait for upstream to review. |
This is a copy-paste message. I've just cut the CHANGELOG in preparation to Mimir 2.0.0 release. Could you rebase |
Return a more descriptive error message when the ingester fails to update cached shipped blocks due to thanos.shipper.json containing invalid JSON. Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
34dd389
to
d4fb463
Compare
Closing this since upstream PR is merged. |
What this PR does
Return a more descriptive error message when the ingester fails to update cached shipped blocks due to thanos.shipper.json containing invalid JSON. Also adding tests.
Which issue(s) this PR fixes
Fixes #1241.
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]