-
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
compactor: Some of the blocks are not compacted, missed. #3721
Comments
I have the exact same issue. |
Hey @qube222pl, could you please share your compactor configuration? |
Hi @kakkoyun All fresh blocks from Prometheus , are compacted correctly and have 14 days , but the older have 12days + 2days. |
Hey @kakkoyun I believe it happens with the default configuration.
Which created the same pattern as @qube222pl |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
Thanos, Prometheus and Golang version used:
Thanos version 0.17.1, 0.17.2
Prometheus 2.20.1
Golang: not secified
Object Storage Provider: S3 MinIO
What happened:
Some of the blocks are not compacted, missed.
We are using thanos, and now we are trying to extend funcionality and add S3 storage ( exacly Minio)
We have data in prometheus , about 60 days and we want to move them to S3, So we startted tanos-sidecar with proper configuration and all of the the block are copied from prometheus to S3.
After upload to S3 any problems, as you can see on the graph.
The problem is when we start thanos-compact ,for some reason, some of the blocks are missed from compaction.It looks like on the screen.
During compaction when we watch on the the logs from compactor, we see that compactor take 5 raw blocks for compaction and when finish them take another 5 , but one is missed and left untouched. This untouched block is 56h, and is exacly the same as all of the others blocks.
Because is this 56h block only 5m downsamplig is possible.
Normaly we planed to keep blocks 1h only, and delete 5m and raw in short time.
No errors found in thanos-compact, thanos-sidecar, thanos-store logs, only warnings.
Maybe someone have some hits, clue, or faced with similar problem and can give some advice whats can be wrong.
I repeated the whole procedure 3 times, deleted all data from S3 upload and comact again but the result is always the same, missed the same blocks.
The text was updated successfully, but these errors were encountered: