HBASE-14313 After a Connection sees ConnectionClosingException it never recovers -- ADDENDUM
This commit is contained in:
parent
fbd6ecb762
commit
cc1542828d
|
@ -939,7 +939,9 @@ public class RpcClientImpl extends AbstractRpcClient {
|
|||
} catch (IOException e) {
|
||||
// We set the value inside the synchronized block, this way the next in line
|
||||
// won't even try to write
|
||||
markClosed(e);
|
||||
if (markClosed(e)) {
|
||||
close();
|
||||
}
|
||||
writeException = e;
|
||||
interrupt();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue