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 95ee24d commit f9a88ebCopy full SHA for f9a88eb
server/src/main/java/org/elasticsearch/index/translog/Translog.java
@@ -587,7 +587,11 @@ public Operation readOperation(Location location) throws IOException {
587
try {
588
return current.read(location);
589
} catch (final IOException e) {
590
- closeOnTragicEvent(e);
+ try {
591
+ closeOnTragicEvent(e);
592
+ } catch (final Exception inner) {
593
+ e.addSuppressed(inner);
594
+ }
595
throw e;
596
}
597
} else {
0 commit comments