From a01bd6c5a38a3030202344a263069f310311b8e5 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Tue, 20 Aug 2019 19:15:36 +0200 Subject: [PATCH] Stop Executing SLM Policy Transport Action on Snapshot Pool (#45727) (#45748) * Executing SLM policies on the snapshot thread will block until a snapshot finishes if the pool is completely busy executing that snapshot * Fixes #45594 --- .../slm/action/TransportExecuteSnapshotLifecycleAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/action/TransportExecuteSnapshotLifecycleAction.java b/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/action/TransportExecuteSnapshotLifecycleAction.java index 197b53d666f..1117e7a3c42 100644 --- a/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/action/TransportExecuteSnapshotLifecycleAction.java +++ b/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/action/TransportExecuteSnapshotLifecycleAction.java @@ -51,7 +51,7 @@ public class TransportExecuteSnapshotLifecycleAction } @Override protected String executor() { - return ThreadPool.Names.SNAPSHOT; + return ThreadPool.Names.GENERIC; } @Override