Skip to content

Commit d61633b

Browse files
committed
Don't ignore IOExceptions in temp file cleanup
1 parent 80f0879 commit d61633b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

server/src/main/java/org/elasticsearch/index/codec/tsdb/es819/ES819TSDBDocValuesConsumer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,7 @@ public void accept(int docValueCount) throws IOException {
600600
}
601601
} finally {
602602
if (addressDataOutputName != null) {
603-
try {
604-
dir.deleteFile(addressDataOutputName);
605-
} catch (final IOException ignored) {
606-
// ignore exception
607-
}
603+
dir.deleteFile(addressDataOutputName);
608604
}
609605
}
610606
}

0 commit comments

Comments
 (0)