-
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
Unable to fetch data after compaction #1983
Comments
Just checked and it is a valid bug. No one expected series size to be larger than this. Rationales: #146 (comment) We need to handle this case for you. This was from 0.1.0 version so it's not a release 0.9.0 issue. We need to either increase it for you or allow re-fetching. Let me try to put a PR for it. |
Fixes: #1983 Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Fix: #1985 |
Fixes: #1983 Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Thanks for the fast response! Will try it tomorrow. |
Have just tried and it works smoothly. Looking forward to it in the new release! |
Fixes: #1983 Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Fixes: #1983 Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Fixes: thanos-io/thanos#1983 Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Thanos, Prometheus and Golang version used:
Object Storage Provider:
AWS S3
What happened:
Can't access to the historical data from the object storage after compaction (looks similar to #552 and #146):
Mint: 1571750427740 Maxt: 1578584483987: rpc error: code = Aborted desc = fetch series for block 01DY61NKQNEYFM6BFPDJXZRPQX: preload series: invalid remaining size 65536, expected 71774
Furthermore, it seems persistent for specific workload: prometheus scrapes node_exporter metrics from the hosts. Right now I have three l4 blocks (Nov 15 - Nov 28, Nov 28 - Dec 12, Dec 12 - Dec 26) and several l3 (Dec 26 - Jan 07). After compaction, I still can fetch historical data from the former block (Nov 15 - Nov 28), but not from the others. Query fails with this response from the Store:
thanos/pkg/store/bucket.go
Line 1566 in 9c84435
I have two replicas but the problem exists for each of them. The reason why old compacted block accessible could be in some bug introduced in 0.8 or 0.9 releases: I updated Thanos version for all components on 11 Dec.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components:
There is Compactor logs related to one corrupted block (nothing useful actually):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: