Skip to content

Commit

Permalink
HBASE-28546 Make WAL rolling exception clear
Browse files Browse the repository at this point in the history
Change-Id: I842cc1028ab87f75a70db737f52a4b83b8586b3d
  • Loading branch information
jojochuang committed Apr 24, 2024
1 parent adc79a0 commit 641d35f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,11 @@ private long writeWALMetadata(Consumer<CompletableFuture<Long>> action) throws I
InterruptedIOException ioe = new InterruptedIOException();
ioe.initCause(e);
throw ioe;
} catch (ExecutionException | TimeoutException e) {
} catch (ExecutionException e) {
Throwables.propagateIfPossible(e.getCause(), IOException.class);
throw new RuntimeException(e.getCause());
} catch (TimeoutException e) {
throw new RuntimeException(e);
}
}

Expand Down

0 comments on commit 641d35f

Please sign in to comment.