@Override
  protected void calculateSourceFilesAndTargetFiles() throws IOException {
    filesView.renamedTargetFiles = Collections.emptyList();
    filesView.targetFilesInLog =
        filesView.sourceFilesInCompactionPerformer.isEmpty()
            ? Collections.emptyList()
            : Collections.singletonList(
                TsFileNameGenerator.getSettleCompactionTargetFileResources(
                    filesView.sourceFilesInCompactionPerformer, filesView.sequence));
    filesView.targetFilesInPerformer = filesView.targetFilesInLog;
  }
This settle task contains fully_dirty files and partially_dirty files. This task will do the
following two things respectively: 1. Settle all fully_dirty files by deleting them directly. 2.
Settle partially_dirty files by cleaning them with inner space compaction task. The
partially_dirty files will be compacted into one target file.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/task/SettleCompactionTask.java