@Override
  protected int getStateId(MigrateNamespaceTableProcedureState state) {
    return state.getNumber();
  }
Migrate the namespace data to meta table's namespace family while upgrading
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MigrateNamespaceTableProcedure.java