Reputation: 841
I want to know how replicas get updated in Elasticsearch 5 when new data is added to an existing index. Does it follow active replication or passive by default?
Upvotes: 0
Views: 139
Reputation: 10859
Passive replication: "Any newly indexed document will first be stored on a primary shard, and then copied in parallel to the associated replica shard(s)."
https://www.elastic.co/guide/en/elasticsearch/guide/current/_add_failover.html and https://www.elastic.co/guide/en/elasticsearch/guide/current/replica-shards.html should make that a lot clearer.
Upvotes: 1