Logging: Corrected potential confusing log message
This commit is contained in:
parent
e52a316609
commit
95f56d71bd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue