Skip to content

borg2: partial index delete problematic #9904

Description

@ThomasWaldmann

borg2 deletes the old index fragments before writing a new one. it could be interrupted before it has deleted them all and the left over fragments would then be considered by borg as a complete index although it is incomplete.

Solution:

A partial index-fragment delete leaving a subset that gets trusted as complete could be caught by writing an "index invalidated" sentinel before deleting, so a rebuild is forced if the invalidation didn't finish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions