add debug logs if failed shards can not be resolved.

This commit is contained in:
Boaz Leskes 2014-04-16 14:45:54 +02:00
parent 840d1b4b8e
commit 099b9c6b06
1 changed files with 11 additions and 4 deletions

View File

@ -454,6 +454,8 @@ public class AllocationService extends AbstractComponent {
}
}
}
} else {
logger.debug("failed shard {} not found in routingNodes, ignoring it", failedShard);
}
return dirty;
} else if (failedShard.state() == RELOCATING) {
@ -492,6 +494,8 @@ public class AllocationService extends AbstractComponent {
}
}
}
} else {
logger.debug("failed shard {} not found in routingNodes, ignoring it", failedShard);
}
return dirty;
} else {
@ -534,6 +538,9 @@ public class AllocationService extends AbstractComponent {
}
}
}
if (!dirty) {
logger.debug("failed shard {} not found in routingNodes, ignoring it", failedShard);
}
return dirty;
}
}