From a465d97adb18a6c01dba958af57c414fac861f07 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Tue, 11 Mar 2014 13:00:55 +0700 Subject: [PATCH] Changed debug log to warn for when IW#rollback fails with an exception other than AlreadyClosedException --- .../org/elasticsearch/index/engine/internal/InternalEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java b/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java index 56ae9306529..a841d5b0707 100644 --- a/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java +++ b/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java @@ -1262,7 +1262,7 @@ public class InternalEngine extends AbstractIndexShardComponent implements Engin } } } catch (Throwable e) { - logger.debug("failed to rollback writer on close", e); + logger.warn("failed to rollback writer on close", e); } finally { indexWriter = null; }