public void recordCannotRepairFiles(RepairTimePartition timePartition) throws IOException {
    List<TsFileResource> resources = timePartition.getAllFileSnapshot();
    List<TsFileResource> cannotRepairFiles =
        resources.stream()
            .filter(
                resource -> resource.getTsFileRepairStatus() == TsFileRepairStatus.CAN_NOT_REPAIR)
            .collect(Collectors.toList());
    for (TsFileResource cannotRepairFile : cannotRepairFiles) {
      recordOneFile(cannotRepairFile);
    }
  }
Used for recovering StorageEngine or recovering stopped repair task
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/repair/RepairLogger.java