Consistency after node failure


(Mohit Anchlia) #1

In elasticsearch with replica of 1 when a node goes down one other node is
still receiving the writes. What happens when the failed node comes up and
has inconsistent data? Could reads return inconsistent data for some of the
queries?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

When a failed nodes comes up, the cluster will start a recovery of the
indexes on the node, and for each index, a node with obsolete shards will
receive the latest shards. During recovery, the shards are not open for
read.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3