无法修改 Index Lifecycle Policies 的 policy,提示执行超时,使用api修改也不行
匿名 | 发布于2020年07月08日 | 阅读数:2312
软件版本: elasticsearch 7.6.2
通过页面修改,提示一下异常
api修改异常
{"error":{"root_cause":[{"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (ilm_operation_mode_update) within 3m"}],"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (ilm_operation_mode_update) within 3m"},"status":503}
查看集群健康状态
存在大量等待任务
目前问题是怎么解决这些等待中的任务,执行取消也不行,不能清除。想停掉ilm 也停不了
通过页面修改,提示一下异常
api修改异常
curl -H "Content-Type: application/json" -u elastic:dkw -XPOST "xxx/_ilm/stop?master_timeout=180s"
{"error":{"root_cause":[{"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (ilm_operation_mode_update) within 3m"}],"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (ilm_operation_mode_update) within 3m"},"status":503}
查看集群健康状态
GET /_cat/health?v
存在大量等待任务
GET _cluster/pending_tasks
{
"insert_order" : 6963910,
"priority" : "NORMAL",
"source" : "ilm-retry-failed-step",
"executing" : false,
"time_in_queue_millis" : 273017,
"time_in_queue" : "4.5m"
},
{
"insert_order" : 6924794,
"priority" : "NORMAL",
"source" : "ilm-retry-failed-step",
"executing" : false,
"time_in_queue_millis" : 11673267,
"time_in_queue" : "3.2h"
},
{
"insert_order" : 6924795,
"priority" : "NORMAL",
"source" : "ilm-retry-failed-step",
"executing" : false,
"time_in_queue_millis" : 11673266,
"time_in_queue" : "3.2h"
}
目前问题是怎么解决这些等待中的任务,执行取消也不行,不能清除。想停掉ilm 也停不了
0 个回复