Skip to content

Commit

Permalink
HBASE-23193 ConnectionImplementation.isTableAvailable can not deal wi…
Browse files Browse the repository at this point in the history
…th meta table on branch-2.x
  • Loading branch information
Apache9 committed Oct 24, 2019
1 parent df4b342 commit eab65b6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,10 @@ public boolean isTableAvailable(final TableName tableName, @Nullable final byte[
LOG.debug("Table {} not enabled", tableName);
return false;
}
if (TableName.isMetaTableName(tableName)) {
// meta table is always available
return true;
}
List<Pair<RegionInfo, ServerName>> locations =
MetaTableAccessor.getTableRegionsAndLocations(this, tableName, true);

Expand Down

0 comments on commit eab65b6

Please sign in to comment.