It depends.

When you have no replica allocated (default with only one node), then replica 
is first copied over the network and then transaction log is replayed for 
remaining operations.
When the replica is allocated, each operation (transaction log) is replayed on 
each replica.

About terminology, we don't speak about "replica nodes" but "replica shards". 
Index is split into shards. Shards are allocated on nodes. A shard can be a 
primary or a replica. So on a given node, you can have primary shards or 
replica shards. It does not really matter.

Makes sense?

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 15 janvier 2014 at 16:54:59, Gianluca Bassini ([email protected]) a écrit:

I'm curious about elasticsearch cluster architecture and I didn't find any 
documentation about it.

In particulary I'm interested about how replica nodes works, replica node 
receive operation log from master and performe the same operation (like in 
mongodb replica set) or the replica copy the delta chunk from the master like 
solr

Thanks in advance
Gianluca
--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/04365499-8ea4-4094-9a2d-e4909a76e45f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.52d6b979.140e0f76.11afa%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to