We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad47c5 commit f18503cCopy full SHA for f18503c
modules/elasticsearch/src/main/java/org/elasticsearch/index/shard/service/InternalIndexShard.java
@@ -621,7 +621,9 @@ private class EngineMerger implements Runnable {
621
} catch (EngineClosedException e) {
622
// we are being closed, ignore
623
} catch (OptimizeFailedEngineException e) {
624
- if (e.getCause() instanceof InterruptedException) {
+ if (e.getCause() instanceof EngineClosedException) {
625
+ // ignore, we are being shutdown
626
+ } else if (e.getCause() instanceof InterruptedException) {
627
// ignore, we are being shutdown
628
} else if (e.getCause() instanceof ClosedByInterruptException) {
629
0 commit comments