-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bucket: thanos.blocks is null #2260
Comments
If not set it, sidecar would fail to run. Do i misunderstand it :( |
@daixiang0 You could also just have two instances with identical labels, e.g.
Just some way for you to force some overlapping blocks into storage. |
@MacroPower what do you see in the logs of |
@GiedriusS Nothing super interesting from what I can see.
The console logs are: Sorry, I should have included this in the original post. |
Ah, I see. I was wondering how could this happen. Then, it seems, like we need to tweak the |
@GiedriusS Great catch, I didn't even realize it was loading 0 blocks! It should be loading 40+, not sure why it's loading none. I might look into that further and submit a PR depending on my schedule over the next few weeks. |
@GiedriusS Still no idea why bucket isn't picking up blocks, but I put in a PR #2271 just to handle this specific case. Take a look and feel free to make any suggestions! |
Thanos bucket version used: v0.11 & master
Object Storage Provider: S3
What happened:
We had an issue with overlapping data in one of our blocks. Bucket web worked fine while this data existed for some time. However, after running compactor (and removing a few blocks that it complained about), Bucket web no longer loads.Edit, there was an issue with my object store config.When trying to load bucket web, we see an error in the console that
thanos.blocks is null
. And therefore (of course) there's no way to.sort()
.What you expected to happen:
Handling this could be pretty simple (see example), but I have no idea what error message would be most apt.
Or some other more elegant solution, any suggestions?
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: