HBASE-14313 After a Connection sees ConnectionClosingException it never recovers -- ADDENDUM
This commit is contained in:
parent
886542bd1b
commit
ab47cb9569
|
@ -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