HBASE-17639 Do not stop server if ReplicationSourceManager's waitUntilCanBePushed throws InterruptedException
This commit is contained in:
parent
024ae356ac
commit
b2217d1d8f
|
@ -615,9 +615,12 @@ public class ReplicationSource extends Thread implements ReplicationSourceInterf
|
|||
if (!canSkipWaitingSet.getUnchecked(key)) {
|
||||
try {
|
||||
manager.waitUntilCanBePushed(Bytes.toBytes(key), seq, actualPeerId);
|
||||
} catch (Exception e) {
|
||||
} catch (IOException e) {
|
||||
LOG.error("waitUntilCanBePushed fail", e);
|
||||
stopper.stop("waitUntilCanBePushed fail");
|
||||
} catch (InterruptedException e) {
|
||||
LOG.warn("waitUntilCanBePushed interrupted", e);
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
canSkipWaitingSet.put(key, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue