Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Joining files splitted via par2 may fail due to renaming #595

@hugbug

Description

@hugbug

If download contains splitted files which must be joined via par-repair process the joining may fail if the splitted files themselves are renamed.

That’s an unfortunate combination of options ParRename (DirectRename) and ParScan.

The repair works if both ParRename and DirectRename are disabled OR if ParScan=Full.

Otherwise the par-rename (or direct-rename) renames first part to its correct file name. Then during par-repair all other files are not scanned (this is an optimisation to speed up post-processing) because the only file belonging to par2-set exists and was already scanned, no reason to scan any other files (unless ParScan=Full).

To fix this without loosing performance optimisation (avoid scanning of all files when ParScan != Full) such cases should be taken care of specifically.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions