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