Elasticsearch 2
来源:互联网 发布:中维世纪云视通端口 编辑:程序博客网 时间:2024/09/21 09:22
1,Document 被存到哪个shard上?
shard = hash(routing) % number_of_primary_shards
2 Routing a Document to a Shard
3 法定人数 quorum
int( (primary + number_of_replicas) / 2 ) + 1
如果你设置了3副本,而只启动了2个Node, 默认情况下,你将无法 增减document。
4,
A new index has 1 replica by default, which means that two active shard copies should be required in order to satisfy the need for a quorum. However, these default settings would prevent us from doing anything useful with a single-node cluster. To avoid this problem, the requirement for a quorum is enforced only when number_of_replicas is greater than 1.
只有number_of_replicas 大于1 ,才启用投票机制。
5,
0 0
- Elasticsearch 2
- Elasticsearch集群入门2
- Elasticsearch学习笔记(2)
- Elasticsearch java API (2)
- Elasticsearch(2)安装
- ElasticSearch 5.2.2 安装
- ElasticSearch 2 (13)
- ElasticSearch 2 (15)
- ElasticSearch 2.4.2
- ElasticSearch 2 (12)
- ElasticSearch 2 (12)
- elasticsearch 编程api 2
- ElasticSearch
- Elasticsearch
- Elasticsearch
- ElasticSearch
- elasticSearch
- elasticsearch
- 图片格式的选择+图片压缩---网页制作
- 程序员搞笑集锦0X00
- weblogic服务启动报错:address already in use
- app进程被系统回收导致AlarmManager失效解决办法
- TextView常用基本设置
- Elasticsearch 2
- Struts2的执行原理&工作流程
- java JSon所需的jar包
- 【洛谷 P2409】Y的积木(dp(01背包))
- Unity断点下载
- websphere --- was修改xml注意点
- 使用 PHP 获取并解析 JSON 显示在页面中
- Linux下MyCat安装
- 桶式排序