-
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 throw error open index file: read symbols: read symbols: invalid checksum
in compaction process
#1728
Comments
open index file: read symbols: read symbols: invalid checksum
open index file: read symbols: read symbols: invalid checksum
in compaction process
Hi, I suppose running bucket inspect on it ends up same way probably? |
yes, the |
And out of curiosity how big is the resulting index file of the new block? |
@FUSAKLA Good question here. The compacted index is around |
Do you think Prom TSDB could not support very large index? |
Yeah, it was even discussed on PromCon but the current limit is 64 GiB IIRC |
Just to double check, it is the output block that is 22GB index. How meta.json looks like? (: Might be some other thing that is out of int32 but it's interesting we detect in read time not write time. |
Here is the
|
cc @codesome who wanted to look at it. We discussed internally and it really looks like malformed disk writes. What do you use for disk storage? Can you compact locally? |
Not try to compact locally as the blocks size are too large. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Today I found Thanos compactor keep throwing error open index file: read symbols: read symbols: invalid checksum when doing the block compaction. The compaction process tried to merge those 7 blocks to one final block(level 4):
I saw the new block was created successfully, however it can not pass the function
GatherIndexIssueStats
check.I checked the source code, seems the error come from below codes:
All the blocks are genereated by compactor, why does it can throw such error? Has anyone faced similar issue before?
BTW, full logs is here:
Used version
0.4
,0.6
and0.8.1
to test, and all of them throw this error.The text was updated successfully, but these errors were encountered: