-
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
could not delete LabelSets (cluster not used) on store-gateway #2636
Comments
Hmm, if I understood you correctly then you have removed the Sidecars that have produced those blocks but you still left those blocks in the remote object storage? In such a case, it is expected that they would still show up from Thanos Store since the data is still there. Could you please clarify this? |
@GiedriusS Yes, that's right, I didn't clean up the “ci-prod-cluster-xx” data in the bucket after remove it, because there are too many blocks in the bucket and I don't know which need to be deleted :-( That's very kind of you to tell me how to delete the residual block data. |
Hello 👋 Looks like there was no activity on this issue for last 30 days. |
Just delete the appropriate directories according to their external labels. |
Thanos, Prometheus and Golang version used:
thanos version: v0.12.1
promethues version: v2.3.2
Object Storage Provider: minio
What happened:
I used a bucket for three clusters' sidecars, after several days, I assigned clusters “ci-prod-cluster-xxx” to another bucket and remove it on querier, but the LabelSets of “cluster=ci-prod-cluster-xxx” on store-gateway wasn't deleted.
And I also retry to restart & re-deploy store-gateway, but it didn‘t work.
What you expected to happen:
the LabelSets of “cluster=ci-prod-cluster-xxx” on store-gateway deleted automatically.
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components:
Anything else we need to know:
The text was updated successfully, but these errors were encountered: