Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Log analysis fails to add backups #8

Description

@caetanosauer

Backward log analysis will see the table of backups before the table of mounted volumes, meaning that it will try to redo an sx_add_backup operation on a volume that was not mounted yet. This means that sx_add_backup will see a NULL pointer when getting the volume object.

One possible fix is to simply collect a list of volumes and backups during log analysis, and only apply them in correct order afterwards. I believe Wey uses/used this solution for some operations already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions