Closed zakariais closed 10 months ago
Ingesters from the two clusters can upload blocks and those shouldn't conflict as ULID collision is very unlikely.
The only two sources of conflicts that I can think of are
@pr00se or @aknuds1, do you have more insights into this, since you did some similar work recently?
@osg-grafana this might have docs impact, so tagging you just in case
I want to ask what will happen if two mimir cluster point to same s3 bucket with same storage prefix, will the second mimir import the old data and write new one and will the data be over written?
This is a setup Mimir was not designed for and we haven't tested. You can give it a try but it's an unsupported setup and I don't recommend it. Dimitar reply above matches what I would have commented as well, but without extensively testing it there may be other things that could break in a subtle way that we can't think of right now.
Per @pracucci and @krajorama, this is an unsupported feature and therefore does not require documentation.
Did anyone actually try this???
I have the same situation where I have to do a Blue/Green EKS upgrade.
I'm thinking:
I understand this isn't a recommended approach but I don't really have another option as I can't do an in place EKS upgrade (long story) so any advice would be extremely appreciated.
Got the answer from here: https://github.com/grafana/mimir/discussions/6144
Attempted to connect a different Mimir instance to the same S3 bucket and was not able to query old data. After waiting around half a day it went all back to normal.
Hey, I want to ask what will happen if two mimir cluster point to same s3 bucket with same storage prefix, will the second mimir import the old data and write new one and will the data be over written? The idea is to launch a new mimir when we upgrade k8s cluster, as we create a new cluster and launch all the resources there instead of existing one. How do you guys think we should handle upgrade and moving mimir cluster from one k8s to another? What will be the behaviour of mimir if two cluster point to same bucket with same storage prefixes?