ignore engine closed exception as well
This commit is contained in:
parent
f0825414d3
commit
cb912de255
|
@ -629,7 +629,9 @@ public class InternalIndexShard extends AbstractIndexShardComponent implements I
|
||||||
} catch (EngineClosedException e) {
|
} catch (EngineClosedException e) {
|
||||||
// we are being closed, ignore
|
// we are being closed, ignore
|
||||||
} catch (OptimizeFailedEngineException e) {
|
} catch (OptimizeFailedEngineException e) {
|
||||||
if (e.getCause() instanceof InterruptedException) {
|
if (e.getCause() instanceof EngineClosedException) {
|
||||||
|
// ignore, we are being shutdown
|
||||||
|
} else if (e.getCause() instanceof InterruptedException) {
|
||||||
// ignore, we are being shutdown
|
// ignore, we are being shutdown
|
||||||
} else if (e.getCause() instanceof ClosedByInterruptException) {
|
} else if (e.getCause() instanceof ClosedByInterruptException) {
|
||||||
// ignore, we are being shutdown
|
// ignore, we are being shutdown
|
||||||
|
|
Loading…
Reference in New Issue