CompletableFuture<Void> persistToMeta(RegionStateNode regionNode) {
    return regionStateStore.updateRegionLocation(regionNode).thenAccept(r -> {
      RegionInfo regionInfo = regionNode.getRegionInfo();
      if (isMetaRegion(regionInfo) && regionNode.getState() == State.OPEN) {
        // Usually we'd set a table ENABLED at this stage but hbase:meta is ALWAYs enabled, it
        // can't be disabled -- so skip the RPC (besides... enabled is managed by TableStateManager
        // which is backed by hbase:meta... Avoid setting ENABLED to avoid having to update state
        // on table that contains state.
        setMetaAssigned(regionInfo, true);
      }
    });
  }
Resolve a cached {@link RegionInfo} from the encoded region name as a {@code String}.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java