集群重启后,开始分配分片,在分配分片过程中出现了put超时的情况,对于这种情况需要如何优化啊:
[2021-01-11T23:12:14,892][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [master-node-136.6.132.163] failed to put mappings on indices [[[log-pilot-stdout_cdt-wechat-helper-wechattemplatemessagesender-cdt-dev_2021.01.10/otiv4mxwRNefOOU8vdUiSw]]], type [doc]
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-mapping) within 30s
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:125) ~[elasticsearch-6.5.1.jar:6.5.1]
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_162]
[2021-01-11T23:12:14,892][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [master-node-136.6.132.163] failed to put mappings on indices [[[log-pilot-stdout_cdt-wechat-helper-wechattemplatemessagesender-cdt-dev_2021.01.10/otiv4mxwRNefOOU8vdUiSw]]], type [doc]
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-mapping) within 30s
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:125) ~[elasticsearch-6.5.1.jar:6.5.1]
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_162]
3 个回复
JiangJibo - 喊我雷锋
赞同来自:
pony_maggie - 公众号:犀牛饲养员的技术笔记
赞同来自:
2. 删除不必要的索引
3. 增加超时时间(默认好像是10秒)
daidai
赞同来自: