HBASE-13337 Table regions are not assigning back, after restarting all regionservers at once (Samir Ahmic)
This commit is contained in:
parent
7ab78d9ddf
commit
24cf287df4
|
@ -360,7 +360,7 @@ public class AsyncRpcClient extends AbstractRpcClient {
|
||||||
throw new StoppedRpcClientException();
|
throw new StoppedRpcClientException();
|
||||||
}
|
}
|
||||||
rpcChannel = connections.get(hashCode);
|
rpcChannel = connections.get(hashCode);
|
||||||
if (rpcChannel == null) {
|
if (rpcChannel == null || !rpcChannel.isAlive()) {
|
||||||
rpcChannel = new AsyncRpcChannel(this.bootstrap, this, ticket, serviceName, location);
|
rpcChannel = new AsyncRpcChannel(this.bootstrap, this, ticket, serviceName, location);
|
||||||
connections.put(hashCode, rpcChannel);
|
connections.put(hashCode, rpcChannel);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue