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