From 5dd18acd0e338f9b01e68cf39cd263f22d03ef50 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Sat, 2 Mar 2013 15:48:01 +0100 Subject: [PATCH] proper reason for cluster state task --- .../admin/cluster/health/TransportClusterHealthAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java b/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java index e9667330b18..68bc768b6ba 100644 --- a/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java +++ b/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java @@ -80,7 +80,7 @@ public class TransportClusterHealthAction extends TransportMasterNodeOperationAc if (request.waitForEvents() != null) { final CountDownLatch latch = new CountDownLatch(1); - clusterService.submitStateUpdateTask("cluster_reroute (api)", request.waitForEvents(), new ProcessedClusterStateUpdateTask() { + clusterService.submitStateUpdateTask("cluster_health (wait_for_events [" + request.waitForEvents() + "])", request.waitForEvents(), new ProcessedClusterStateUpdateTask() { @Override public ClusterState execute(ClusterState currentState) { return currentState;