问题描述
某现网ElasticSearch 故障,很长时间unassgined_shards的数量都不减少。
原因分析与解决方案:
先了解整体状态,使用Postman请求,如下几个请求命令:
GET /_cat/indicesGET /_cat/shardsGET /_cluster/healthGET /_cat/nodes?vGET /_cat/health?vGET /_cluster/allocation/explain

POST /_cluster/reroute?retry_failed=true

恢复了部分,但是还是有shards没恢复,取回/_cluster/allocation/expain的response,才发现日志显示:
"disk_t


最低0.47元/天 解锁文章
3679

被折叠的 条评论
为什么被折叠?



