private Stream<RegionOperationProcedure<?>> getRegionOperationProcedures() {
    return getExecutor().getProcedures().values().stream()
        .filter(procedure -> !procedure.isFinished())
        .filter(procedure -> procedure instanceof RegionOperationProcedure)
        .map(procedure -> (RegionOperationProcedure<?>) procedure);
  }
The common checks of all region operations, include migration, reconstruction, extension,
removing

@param regionId region group id, also called consensus group id
@param targetDataNode DataNode should in Running status
@param relatedDataNodes Pair<Identity, Node Location>
@return The reason if check failed, or null if check pass
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java