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