-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
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:
- Bucket web should display a helpful error message
Handling this could be pretty simple (see example), but I have no idea what error message would be most apt.
# bucket.js
function draw() {
if (thanos.refreshedAt == "0001-01-01T00:00:00Z") {
thanos.err = "Synchronizing blocks from remote storage";
}
else if (!thanos.blocks)
{
thanos.err = "No blocks are loaded";
}
...
Or some other more elegant solution, any suggestions?
How to reproduce it (as minimally and precisely as possible):
- Create Thanos instance
- Load bucket web interface using an empty bucket