add debug logs if failed shards can not be resolved.
This commit is contained in:
parent
840d1b4b8e
commit
099b9c6b06
|
@ -454,6 +454,8 @@ public class AllocationService extends AbstractComponent {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
logger.debug("failed shard {} not found in routingNodes, ignoring it", failedShard);
|
||||||
}
|
}
|
||||||
return dirty;
|
return dirty;
|
||||||
} else if (failedShard.state() == RELOCATING) {
|
} 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;
|
return dirty;
|
||||||
} else {
|
} 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;
|
return dirty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue