From c19a93da89b1949a98d6ef6cc4df58189eaf4675 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sat, 19 Mar 2011 21:28:17 +0200 Subject: [PATCH] countDown the latch if no need to delete percolator, introduced when added delete to percolated queries when deleting an index --- .../action/admin/indices/delete/TransportDeleteIndexAction.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java index 522f1f5ab8f..04d99e9a928 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java @@ -104,6 +104,8 @@ public class TransportDeleteIndexAction extends TransportMasterNodeOperationActi latch.countDown(); } }); + } else { + latch.countDown(); } }