Expected behaviour on delayed replication #1966
-
Hi, summaryI am trying to understand what is the expected behavior when an additional Mimir instance is added to the experiment
observationsHere are my observations
questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The problem with replication factor 2 is that on write, it requires both replicas to successfully receive samples, so that we can tolerate single failure on read. However in your scenario, only one replica received samples. During read as soon as data from single replica is received, read finishes. Depending on which replica replies, you either get results or not. Re 2: you are right that query goes to all ingesters, but as soon as single one replies (with RF=2), this reply is sent back as final answer, even if reply is empty. Re 3: Mimir currently doesn't have any way of "syncing" replicas. |
Beta Was this translation helpful? Give feedback.
The problem with replication factor 2 is that on write, it requires both replicas to successfully receive samples, so that we can tolerate single failure on read. However in your scenario, only one replica received samples. During read as soon as data from single replica is received, read finishes. Depending on which replica replies, you either get results or not.
Re 2: you are right that query goes to all ingesters, but as soon as single one replies (with RF=2), this reply is sent back as final answer, even if reply is empty.
Re 3: Mimir currently doesn't have any way of "syncing" replicas.