Skip to content

Expected behaviour on delayed replication #1966

Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pracucci
Comment options

@pstibrany
Comment options

Answer selected by balbirthomas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants