ignore recovery when no node to recover from (it has disconnected, for example)
This commit is contained in:
parent
3fb68c52da
commit
5ff46911b6
|
@ -269,6 +269,8 @@ public class RecoveryAction extends AbstractIndexShardComponent implements Close
|
|||
}
|
||||
} else if (cause instanceof IgnoreRecoveryException) {
|
||||
throw (IgnoreRecoveryException) cause;
|
||||
} else if (cause instanceof NodeNotConnectedException) {
|
||||
throw new IgnoreRecoveryException("Ignore recovery attemot, remote node not connected", e);
|
||||
}
|
||||
throw new RecoveryFailedException(shardId, node, targetNode, e);
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue