Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

mixer build delta-packs can break delta creations when using --previous-versions #779

@phmccarty

Description

@phmccarty

When running mixer build delta-packs --previous-versions=N, packs will be generated for the previous N versions, as expected. But the delta list and delta creations for each previous version are processed independently, and in parallel, which often leads to unexpected bsdiff delta creation/application failures when delta lists overlap (i.e. contain duplicates if the lists were combined).

Instead, I think it would be better for mixer to (a) compute the delta list for the previous N versions (de-duplicated), (b) create all deltas from the delta list in parallel, and finally (c) create the delta packs.

The entrypoint for this process is:

func (b *Builder) BuildDeltaPacksPreviousVersions(prev, to uint32, printReport bool) error {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions