void redoDelete(DeleteDataNode deleteDataNode) throws IOException {
    List<MeasurementPath> paths = deleteDataNode.getPathList();
    List<ModEntry> deletionEntries = new ArrayList<>(paths.size());
    for (MeasurementPath path : paths) {
      // path here is device path pattern
      TreeDeletionEntry deletionEntry =
          new TreeDeletionEntry(
              path, deleteDataNode.getDeleteStartTime(), deleteDataNode.getDeleteEndTime());
      recoveryMemTable.delete(deletionEntry);
      deletionEntries.add(deletionEntry);
    }
    tsFileResource.getModFileForWrite().write(deletionEntries);
  }
This class helps redo wal logs into a TsFile. Notice: You should update time map in {@link
TsFileResource} before using this class to avoid duplicated insertion and this class doesn't
guarantee concurrency safety.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/recover/file/TsFilePlanRedoer.java