@Override
  protected Flow executeFromState(ConfigNodeProcedureEnv env, NotifyRegionMigrationState state)
      throws InterruptedException {
    if (regionId == null) {
      return Flow.NO_MORE_STATE;
    }
    try {
      LOGGER.info(
          "[pid{}][NotifyRegionMigration] started, region id is {}.", getProcId(), regionId);
      env.notifyRegionMigrationToAllDataNodes(regionId, isStart);
    } catch (Exception e) {
      LOGGER.error("[pid{}][NotifyRegionMigration] state {} failed", getProcId(), state, e);
      return Flow.NO_MORE_STATE;
    }
    LOGGER.info("[pid{}][NotifyRegionMigration] state {} complete", getProcId(), state);
    return Flow.HAS_MORE_STATE;
  }
A procedure that notifies all DNs of the ongoing region migration procedure.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/region/NotifyRegionMigrationProcedure.java