public String getRegionReplicaSetString(TConsensusGroupId regionId) {
    Optional<TRegionReplicaSet> regionReplicaSet = getRegionReplicaSet(regionId);
    if (!regionReplicaSet.isPresent()) {
      return "UNKNOWN!";
    }
    StringBuilder result = new StringBuilder(regionReplicaSet.get().getRegionId() + ": {");
    for (TDataNodeLocation dataNodeLocation : regionReplicaSet.get().getDataNodeLocations()) {
      result.append(simplifiedLocation(dataNodeLocation)).append(", ");
    }
    result.append("}");
    return result.toString();
  }
Find all DataNodes which contains the given regionId

@param regionId region id
@return DataNode locations
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/env/RegionMaintainHandler.java