HBASE-19928 TestVisibilityLabelsOnNewVersionBehaviorTable fails; ADDENDUM Fix failing TestMetaWithReplicas#testShutdownHandling; it was reading meta TableState
This commit is contained in:
parent
cb138c2da8
commit
fbcb453ce2
|
@ -1109,6 +1109,9 @@ public class MetaTableAccessor {
|
|||
@Nullable
|
||||
public static TableState getTableState(Connection conn, TableName tableName)
|
||||
throws IOException {
|
||||
if (tableName.equals(TableName.META_TABLE_NAME)) {
|
||||
return new TableState(tableName, TableState.State.ENABLED);
|
||||
}
|
||||
Table metaHTable = getMetaHTable(conn);
|
||||
Get get = new Get(tableName.getName()).addColumn(getTableFamily(), getTableStateColumn());
|
||||
long time = EnvironmentEdgeManager.currentTime();
|
||||
|
|
Loading…
Reference in New Issue