Elasticsearch副本更新机制
Elasticsearch replica update mechanism
我想知道当新数据添加到现有索引时,副本如何在 Elasticsearch 5 中更新。它默认遵循主动复制还是被动复制?
被动复制:"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 应该更清楚了。
我想知道当新数据添加到现有索引时,副本如何在 Elasticsearch 5 中更新。它默认遵循主动复制还是被动复制?
被动复制:"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 应该更清楚了。