thanos: Compactor/Store Gateway/Bucket UI: Enable finding overlapping block make frontend crash
Thanos, Prometheus and Golang version used:
- Thanos
quay.io/thanos/thanos:v0.25.2
- Thanos
quay.io/thanos/thanos:v0.26.0
- Thanos
quay.io/thanos/thanos:v0.27.0
Object Storage Provider:
AWS S3
What happened:
On the frontend using google chrome, on the loaded blocks page when ticking the Enable finding overlapping block
…
On google chrome I get the error
TypeError: Cannot read properties of undefined (reading 'thanos')
in t
in L
in j
in x
in j
in div
in h
in n
in Da
and on firefox I get :
TypeError: i[0][0] is undefined
in t
in L
in j
in x
in j
in div
in h
in n
in Da
Full logs to relevant components:
Compactor logs filtered by component=bucketUI :
level=warn ts=2022-05-12T12:27:10.72680398Z caller=ui.go:204 component=bucketUI msg="Could not get file" err="AssetInfo pkg/ui/static/react/static/js/main.eec2650e.chunk.js.map not found" file=pkg/ui/static/react/static/js/main.eec2650e.chunk.js.map
level=warn ts=2022-05-12T12:27:10.68813083Z caller=ui.go:204 component=bucketUI msg="Could not get file" err="AssetInfo pkg/ui/static/react/static/js/2.f69d72f3.chunk.js.map not found" file=pkg/ui/static/react/static/js/2.f69d72f3.chunk.js.map
level=warn ts=2022-05-12T12:27:10.787708375Z caller=ui.go:204 component=bucketUI msg="Could not get file" err="AssetInfo pkg/ui/static/react/static/css/main.e128754d.chunk.css.map not found" file=pkg/ui/static/react/static/css/main.e128754d.chunk.css.map
level=warn ts=2022-05-12T12:27:10.748746088Z caller=ui.go:204 component=bucketUI msg="Could not get file" err="AssetInfo pkg/ui/static/react/static/css/2.3288c2bf.chunk.css.map not found" file=pkg/ui/static/react/static/css/2.3288c2bf.chunk.css.map
Anything else we need to know:
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 23
- Comments: 22 (1 by maintainers)
Thanks @aslafy-z, I gave it a try and it does seem to detect overlapping blocks successfully:
I implemented a potential fix at https://github.com/thanos-io/thanos/pull/6768, but have no overlapping blocks in my thanos instances. Can someone with overlapping blocks try it? @imgfrost maybe? I pushed an amd64 docker image based on the main branch at
docker.io/zadki3l/thanos:0.32-fix-overlapping-blocks
would love this to get resolved, having a massive issue with overlapping blocks, so having a UI that would show this would be ideal.
Same in 0.31.0