HBASE-25992 Addendum add missing catch WALEntryFilterRetryableException back
This commit is contained in:
parent
9f4177f7b4
commit
c5461aaa5b
|
@ -155,11 +155,11 @@ class ReplicationSourceWALReader extends Thread {
|
||||||
entryBatchQueue.put(batch);
|
entryBatchQueue.put(batch);
|
||||||
sleepMultiplier = 1;
|
sleepMultiplier = 1;
|
||||||
}
|
}
|
||||||
} catch (IOException e) { // stream related
|
} catch (WALEntryFilterRetryableException | IOException e) { // stream related
|
||||||
if (!handleEofException(e, batch)) {
|
if (!handleEofException(e, batch)) {
|
||||||
LOG.warn("Failed to read stream of replication entries", e);
|
LOG.warn("Failed to read stream of replication entries", e);
|
||||||
if (sleepMultiplier < maxRetriesMultiplier) {
|
if (sleepMultiplier < maxRetriesMultiplier) {
|
||||||
sleepMultiplier ++;
|
sleepMultiplier++;
|
||||||
}
|
}
|
||||||
Threads.sleep(sleepForRetries * sleepMultiplier);
|
Threads.sleep(sleepForRetries * sleepMultiplier);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue