Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public int retryRead(ByteBuf dst, long position, int length, long retryIntervalM
return retry(() -> read(dst, position, length), retryIntervalMillis, retryTimeoutMillis);
}

private void retry(IORunnable runnable, long retryIntervalMillis, long retryTimeoutMillis) throws IOException {
protected void retry(IORunnable runnable, long retryIntervalMillis, long retryTimeoutMillis) throws IOException {
retry(IOSupplier.from(runnable), retryIntervalMillis, retryTimeoutMillis);
}

Expand All @@ -106,7 +106,7 @@ private <T> T retry(IOSupplier<T> supplier, long retryIntervalMillis, long retry
}
}

private void checkFailed() throws IOException {
protected void checkFailed() throws IOException {
if (failed) {
IOException e = new IOException("Failed to execute IO operation, WAL failed");
LOGGER.error("Failed to execute IO operation, WAL failed", e);
Expand Down
Loading