private boolean isPipeTaskCurrentlyRestarted(final PipeRealtimeEvent event) {
    if (!PipeConfig.getInstance().isPipeEpochKeepTsFileAfterStuckRestartEnabled()) {
      return false;
    }

    final boolean isPipeTaskCurrentlyRestarted =
        PipeDataNodeAgent.task().isPipeTaskCurrentlyRestarted(pipeName);
    if (isPipeTaskCurrentlyRestarted && event.mayExtractorUseTablets(this)) {
      LOGGER.info(
          "Pipe task {}@{} canNotUseTabletAnymoreDeprecated(0): Pipe task is currently restarted",
          pipeName,
          dataRegionId);
    }
    return isPipeTaskCurrentlyRestarted;
  }
These judgements are deprecated, and are only reserved for manual operation and compatibility.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/extractor/dataregion/realtime/PipeRealtimeDataRegionHybridExtractor.java