Skip to content

Commit

Permalink
HBASE-13337 Table regions are not assigning back, after restarting al…
Browse files Browse the repository at this point in the history
…l regionservers at once.

Signed-off-by: stack <[email protected]>
  • Loading branch information
asamir authored and saintstack committed Sep 15, 2015
1 parent 9a8ad7c commit f51c790
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private AsyncRpcChannel createRpcChannel(String serviceName, InetSocketAddress l
throw new StoppedRpcClientException();
}
rpcChannel = connections.get(hashCode);
if (rpcChannel == null) {
if (rpcChannel == null || !rpcChannel.isAlive()) {
rpcChannel = new AsyncRpcChannel(this.bootstrap, this, ticket, serviceName, location);
connections.put(hashCode, rpcChannel);
}
Expand Down

0 comments on commit f51c790

Please sign in to comment.