HBASE-14474 Revert addendum
This commit is contained in:
parent
dc2aa7e513
commit
414a7b18b1
|
@ -923,8 +923,9 @@ public class RpcClientImpl extends AbstractRpcClient {
|
|||
|
||||
// call close outside of the synchronized (outLock) to prevent deadlock - HBASE-14474
|
||||
if (writeException != null) {
|
||||
markClosed(writeException);
|
||||
close();
|
||||
if (markClosed(writeException)) {
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
// We added a call, and may be started the connection close. In both cases, we
|
||||
|
|
Loading…
Reference in New Issue