HBASE-14474 Revert addendum

This commit is contained in:
tedyu 2015-09-25 15:48:08 -07:00
parent dc2aa7e513
commit 414a7b18b1
1 changed files with 3 additions and 2 deletions

View File

@ -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