-
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
Thanos compactor: endless restart loop when 'block missing index file' #5363
Comments
seeing the same issue with Thanos 0.26 but with GCS. Unsure how it got into this state. |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Hi, we're still experiencing this problem:
thanos: 0.31.0 Why is compactor not just halted, hence |
Apparently the block is not downloaded to the local container and after downloading I did run some debug to see what is the error and this came out (see the "context cancelled")
|
Thanos, Prometheus and Golang version used:
thanos: 0.25.2
prometheus: 2.35.0
golang: 1.17.5
Object Storage Provider:
Thanos/s3
What happened:
I am not going to elaborate on the matter, this issue is reopening #1199.
What you expected to happen:
No restart loop.
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components:
level=info ts=2022-05-10T21:30:12.151102784Z caller=http.go:84 service=http/server component=compact msg="internal server is shutting down" err="error executing compaction: compaction: group 0@16580404985295954394: gather index issues for block data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C: open index file: try lock file: open data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C/index: no such file or directory"
level=warn ts=2022-05-10T21:30:12.150996864Z caller=intrumentation.go:67 msg="changing probe status" status=not-ready reason="error executing compaction: compaction: group 0@16580404985295954394: gather index issues for block data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C: open index file: try lock file: open data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C/index: no such file or directory"
level=error ts=2022-05-10T21:30:12.152881416Z caller=main.go:158 err="group 0@16580404985295954394: gather index issues for block data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C: open index file: try lock file: open data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C/index: no such file or directory\ncompaction\nmain.runCompact.func7\n\tgithub.com/thanos-io/thanos/cmd/thanos/compact.go:431\nmain.runCompact.func8.1\n\tgithub.com/thanos-io/thanos/cmd/thanos/compact.go:485\ngithub.com/thanos-io/thanos/pkg/runutil.Repeat\n\tgithub.com/thanos-io/thanos/pkg/runutil/runutil.go:75\nmain.runCompact.func8\n\tgithub.com/thanos-io/thanos/cmd/thanos/compact.go:484\ngithub.com/oklog/run.(*Group).Run.func1\n\tgithub.com/oklog/run@v1.1.0/group.go:38\nruntime.goexit\n\truntime/asm_amd64.s:1581\nerror executing compaction\nmain.runCompact.func8.1\n\tgithub.com/thanos-io/thanos/cmd/thanos/compact.go:512\ngithub.com/thanos-io/thanos/pkg/runutil.Repeat\n\tgithub.com/thanos-io/thanos/pkg/runutil/runutil.go:75\nmain.runCompact.func8\n\tgithub.com/thanos-io/thanos/cmd/thanos/compact.go:484\ngithub.com/oklog/run.(*Group).Run.func1\n\tgithub.com/oklog/run@v1.1.0/group.go:38\nruntime.goexit\n\truntime/asm_amd64.s:1581\ncompact command failed\nmain.main\n\tgithub.com/thanos-io/thanos/cmd/thanos/main.go:158\nruntime.main\n\truntime/proc.go:255\nruntime.goexit\n\truntime/asm_amd64.s:1581"
level=info ts=2022-05-10T21:30:12.152562807Z caller=intrumentation.go:81 msg="changing probe status" status=not-healthy reason="error executing compaction: compaction: group 0@16580404985295954394: gather index issues for block data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C: open index file: try lock file: open data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C/index: no such file or directory"
level=info ts=2022-05-10T21:30:12.152458354Z caller=http.go:103 service=http/server component=compact msg="internal server is shutdown gracefully" err="error executing compaction: compaction: group 0@16580404985295954394: gather index issues for block data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C: open index file: try lock file: open data/compact/0@16580404985295954394/01G2Q0W559A6HC3F2FBMX2H70C/index: no such file or directory"
Anything else we need to know:
The text was updated successfully, but these errors were encountered: