HBASE-25923 Region state stuck in PENDING_OPEN (#3312)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
Xiaolin Ha 2021-07-19 14:15:39 +08:00 committed by GitHub
parent edd6ea9311
commit ed1a75905c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1958,6 +1958,11 @@ public class AssignmentManager extends ZooKeeperListener {
// Can be a socket timeout, EOF, NoRouteToHost, etc
LOG.info("Unable to communicate with " + destination
+ " in order to assign regions, ", e);
for (HRegionInfo region : regions) {
if (!regionStates.isRegionOnline(region)) {
invokeAssign(region);
}
}
return false;
}
} finally {