From 95f56d71bd6ecb19c0e6276e2dc4c51fad18ec15 Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Tue, 21 Jul 2015 11:30:26 +0200 Subject: [PATCH] Logging: Corrected potential confusing log message --- core/src/main/java/org/elasticsearch/index/IndexService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/index/IndexService.java b/core/src/main/java/org/elasticsearch/index/IndexService.java index 3addeb59a40..8c25cd17c42 100644 --- a/core/src/main/java/org/elasticsearch/index/IndexService.java +++ b/core/src/main/java/org/elasticsearch/index/IndexService.java @@ -289,7 +289,7 @@ public class IndexService extends AbstractIndexComponent implements IndexCompone try { path = ShardPath.loadShardPath(logger, nodeEnv, shardId, indexSettings); } catch (IllegalStateException ex) { - logger.warn("{} failed to load shard path, trying to archive leftover", shardId); + logger.warn("{} failed to load shard path, trying to remove leftover", shardId); try { ShardPath.deleteLeftoverShardDirectory(logger, nodeEnv, lock, indexSettings); path = ShardPath.loadShardPath(logger, nodeEnv, shardId, indexSettings);