Skip to content

imagetools: share ingester across concurrent copies#3731

Merged
tonistiigi merged 1 commit intodocker:masterfrom
tonistiigi:imagetools-push-parallelization
Mar 19, 2026
Merged

imagetools: share ingester across concurrent copies#3731
tonistiigi merged 1 commit intodocker:masterfrom
tonistiigi:imagetools-push-parallelization

Conversation

@tonistiigi
Copy link
Member

Reuse a single ingester per target repository when imagetools create copies multiple manifests in parallel.

This lets the pushing ingester serialize same-digest pushes and avoids racing duplicate blob uploads against registries to work around bug in Registry v3.0.0 (and possibly others).

fix #3722

The registry bug that causes this was fixed in distribution/distribution@78456caf but there is no release atm with that patch.

Reuse a single ingester per target repository when imagetools create
copies multiple manifests in parallel.

This lets the pushing ingester serialize same-digest pushes and avoids
racing duplicate blob uploads against registries to work around bug in
Registry v3.0.0 (and possibly others).

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit 1e54ca2 into docker:master Mar 19, 2026
159 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky Test: TestImagetoolsFile

2 participants