Bug: Old Data Unreadable After Migrating Mimir to Kubernetes with Helm and Upgrading to v2.14 #9980
-
What is the bug?Issue Description Details
Additional Context
How to reproduce it?Set up a Mimir instance (version 2.12) on a virtual machine. What did you think would happen?After migrating Mimir from version 2.12 to 2.14 and moving to a Kubernetes-based distributed setup, we expected the following: What was your environment?Distributor ID: Ubuntu mimir installed from : Dec 22 2023 mimir-2.11.0_amd64.deb Any additional context to share?No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There was no change to how data is stored in object storage in 2.14. This is likely something specific to your environment. Can you try:
|
Beta Was this translation helpful? Give feedback.
-
Hello, It turned out that the virtual machine installation created a /blocks folder containing tenant-specific data, each with its own bucket-index.json. However, our Kubernetes deployment was using the root directory for the same purpose. This mismatch caused the old data to be in the wrong location. A s5cmd mv file to the right location and a reload of the compactor fixed everything on our end. Thanks again for your help! |
Beta Was this translation helpful? Give feedback.
There was no change to how data is stored in object storage in 2.14. This is likely something specific to your environment.
Can you try:
bucket-index.json.gz
files have both old and new blocks in them