Skip to content

contentutil: fix referrer blob ingest cleanup#6520

Open
tonistiigi wants to merge 1 commit intomoby:masterfrom
tonistiigi:fix-blob-short-read-bug
Open

contentutil: fix referrer blob ingest cleanup#6520
tonistiigi wants to merge 1 commit intomoby:masterfrom
tonistiigi:fix-blob-short-read-bug

Conversation

@tonistiigi
Copy link
Member

Abort uncommitted ingest on ReaderAt failures and reset resumed writer offset before copy to avoid stale partial state for digest refs. Tests for canceled-read poisoning and resumed-ingest offset handling.

Fixes possible "ERROR: reading blob sha256:: failed to read expected number of bytes: unexpected EOF" error that has been showing up in buildx CI policy tests.

Abort uncommitted ingest on ReaderAt failures and reset resumed
writer offset before copy to avoid stale partial state for digest refs.
Tests for canceled-read poisoning and resumed-ingest
offset handling.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant