Logging: Corrected potential confusing log message

This commit is contained in:
Alexander Reelsen 2015-07-21 11:30:26 +02:00
parent e52a316609
commit 95f56d71bd
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ public class IndexService extends AbstractIndexComponent implements IndexCompone
try { try {
path = ShardPath.loadShardPath(logger, nodeEnv, shardId, indexSettings); path = ShardPath.loadShardPath(logger, nodeEnv, shardId, indexSettings);
} catch (IllegalStateException ex) { } 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 { try {
ShardPath.deleteLeftoverShardDirectory(logger, nodeEnv, lock, indexSettings); ShardPath.deleteLeftoverShardDirectory(logger, nodeEnv, lock, indexSettings);
path = ShardPath.loadShardPath(logger, nodeEnv, shardId, indexSettings); path = ShardPath.loadShardPath(logger, nodeEnv, shardId, indexSettings);