elasticsearch5.2.1 rolloing upgrade到5.6.5遇到小坑
Elasticsearch | 作者 arterforyou | 发布于2018年01月12日 | 阅读数:3488
								参考连接就看官网就行:
步骤很简单:
注意:
 
[/*]
[*]升级过程中遇到一个参数的bug,https://discuss.elastic.co/t/c ... 15403[/*]
[/list]
  
															
																				步骤很简单:
- 关闭allocation
 - POST _flush/synced
 - 升级软件版本和plugin
 - 启动新版本的es,待加入集群,nodes数显示正常
 - 打开allocation,等待数据本地恢复,变为green后继续下一个node升级
 
注意:
- 一定要关闭allocation,否则数据分片会偏移,重复copy
 - 如果有新索引,一个集群至少要升级两台测试,否则高版本的主shard,副shard不通分配到低版本[list=1][*]报错: "explanation": "target node version [5.2.1] is older than the source node version [5.6.5]"
 - curl localhost:9200/_cluster/allocation/explain|python -m json.tool 可以查看
 
[/*]
[*]升级过程中遇到一个参数的bug,https://discuss.elastic.co/t/c ... 15403[/*]
[/list]
	
0 个回复