gpt4 book ai didi

elasticsearch - Elasticsearch副本更新机制

转载 作者:行者123 更新时间:2023-12-03 01:49:42 25 4
gpt4 key购买 nike

我想知道在将新数据添加到现有索引时如何在Elasticsearch 5中更新副本。默认情况下,它遵循主动复制还是被动复制?

最佳答案

被动复制:“任何新索引的文档都将首先存储在主分片上,然后并行复制到关联的副本分片上。”

https://www.elastic.co/guide/en/elasticsearch/guide/current/_add_failover.htmlhttps://www.elastic.co/guide/en/elasticsearch/guide/current/replica-shards.html应该更清楚一些。

关于elasticsearch - Elasticsearch副本更新机制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41487067/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com