private void addFileMods(
      TsFileResource resource, MeasurementPath path, long startTime, long endTime)
      throws IOException {
    try (ModificationFile modificationFile = resource.getModFileForWrite()) {
      modificationFile.write(new TreeDeletionEntry(path, startTime, endTime));
    }
  }
File 0 4 6 8 is partial_deleted, file 2 3 7 is all_deleted. Partial_deleted group is (0) (4) (6
8).
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/compaction/settle/SettleCompactionSelectorTest.java