Assuming an ElasticSearch deployment has only one shard but there are
several nodes, in two discrete data centres.
If communications between the data centres is interrupted, each node
can continue to operate (because with one shard, all the data is
"local") but what happens to changes that are written to separate
nodes? i.e. when inter-data-centre communications are restored, and
the nodes discover each other again:
- Do writes that have happened in centre A get replicated to centre B?
- What happens if document X is modified in centre A AND in centre B?
Thanks in advance.