From f9ce791578ff103ce9af89fca1394513bc0150f7 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 23 Jul 2013 10:54:34 +0200 Subject: [PATCH] make sure we update last failure --- .../action/admin/indices/delete/TransportDeleteIndexAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java b/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java index 6037a084d0d..4a248d9d352 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/delete/TransportDeleteIndexAction.java @@ -124,6 +124,7 @@ public class TransportDeleteIndexAction extends TransportMasterNodeOperationActi @Override public void onFailure(Throwable t) { logger.debug("[{}] failed to delete index", t, index); + lastFailure = t; if (count.decrementAndGet() == 0) { listener.onFailure(t); }