Skip to content

Commit

Permalink
HBASE-25992 Addendum add missing catch WALEntryFilterRetryableExcepti…
Browse files Browse the repository at this point in the history
…on back
  • Loading branch information
Apache9 committed Jun 21, 2021
1 parent 9f4177f commit c5461aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ public void run() {
entryBatchQueue.put(batch);
sleepMultiplier = 1;
}
} catch (IOException e) { // stream related
} catch (WALEntryFilterRetryableException | IOException e) { // stream related
if (!handleEofException(e, batch)) {
LOG.warn("Failed to read stream of replication entries", e);
if (sleepMultiplier < maxRetriesMultiplier) {
sleepMultiplier ++;
sleepMultiplier++;
}
Threads.sleep(sleepForRetries * sleepMultiplier);
}
Expand Down

0 comments on commit c5461aa

Please sign in to comment.