mimir store-gateway is dropping blocks as outdated (and ignoring blocks retention period) #8918
Replies: 1 comment
-
Hi, I did some further research and found the following logs after it happened again: Mimir logs are as following:
Object store are as following:
So I think the compactor is somehow failing in updating the block index (but not everytime). The pods are monitored and there is nothing special in resource consumption at the moment of deletion. I checked the source code and I can not explain, how the index-entries are getting lost. Any idea, anyone? :-D |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Chunks are removed from the S3 bucket with an incomprehensible regularity. The compactor was configured in such a way that only blocks older than 180d are expected to be removed.
To Reproduce
Expected behavior
Based on the configuration, only blocks older than 180d should be deleted.
Environment
mimir-distributed helm chart v. 5.2.3 / Kubernetes v1.29.0
no zone aware replication
Configuration is as followed
` mimir:
structuredConfig:
common:
storage:
backend: s3
s3:
bucket_name: "xxx"
endpoint: "xxx"
Additional Context
Logs in store-gateway:
ts=2024-08-06T08:09:38.13164158Z caller=bucket.go:405 level=info user=anonymous msg="loaded new block" elapsed=464.109706ms id=01J3HZH7R5DGA08X557KWF9CFX ts=2024-08-06T08:09:38.132932997Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J1R8H0AGNAY25ECPESWTNP39 ts=2024-08-06T08:09:38.134626416Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J1JF4DZTNVXXNB2JPEPQ3BSA ts=2024-08-06T08:09:38.136119615Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J23V9DXMFWWWN833TPD85MXS ts=2024-08-06T08:09:38.137688299Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J29MQ86ACQMCXDYAN7EF38MP ts=2024-08-06T08:09:38.138515917Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J3YB6ER9HZBGHD5A6DCYS1Z4 ts=2024-08-06T08:09:38.140130299Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J1Y1Y2PWVN2CG4CH07KBMAS7 ts=2024-08-06T08:09:38.140878692Z caller=bucket.go:347 level=info user=anonymous msg="dropped outdated block" block=01J40T4P6QCTF3MGKG8TH87SVH
Thanks for the support in advance!
Beta Was this translation helpful? Give feedback.
All reactions