Issue #4529
closedBroken repo can be published if zchunk metadata is not ignored at sync time
Description
In Fedora 30, Zchunk metadata is going to be present alongside with older compression formats.
Pulp should ignore and not sync this metadata, in order to avoid creating a potentially bad repo at publish time.
Scenario for a bad repo:
- create repo and sync from a remote repo with zchunk metadata
- make any content changes to a repo , e.g. remove/add packages
- published a repo
- zchunk metadata is published as-is without any modifications to it (even though content in a repo changed) -> clients which use zchunk metadata will get incorrect data about the content in a repo.
Repo with this new metadata type: http://mirror.vutbr.cz/fedora/development/rawhide/Everything/x86_64/os/
Related issues
Updated by ttereshc over 5 years ago
- Related to Test #4530: Test support of zchunk metadata added
Updated by ttereshc over 5 years ago
- Tracker changed from Story to Issue
- Subject changed from As a user, zchunk metadata is supported to Broken repo can be published if zchunk metadata is not ignored at sync time
- Description updated (diff)
- Severity set to 2. Medium
- Triaged set to No
Updated by ttereshc over 5 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 50
Updated by daviddavis over 5 years ago
- Sprint changed from Sprint 51 to Sprint 52
Updated by ttereshc over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
Added by ttereshc over 5 years ago
Updated by ttereshc over 5 years ago
- Status changed from ASSIGNED to POST
Updated by ttereshc over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset 1a4cc6abffb632b4cc688e3540e9c009cce1da52.
Added by ttereshc over 5 years ago
Revision 0813de09 | View on GitHub
Skip zchunk metadata at sync time
Pulp 2 doesn't support zchunk compression format. Keeping mirrored zchunk metadata in a repository can cause a repository to be in a broken state.
closes #4529 https://pulp.plan.io/issues/4529
(cherry picked from commit 1a4cc6abffb632b4cc688e3540e9c009cce1da52)
Updated by ttereshc over 5 years ago
Applied in changeset 0813de091008bfe8173c7d58e9eb2892d7a248e7.
Updated by dkliban@redhat.com over 5 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com over 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Skip zchunk metadata at sync time
Pulp 2 doesn't support zchunk compression format. Keeping mirrored zchunk metadata in a repository can cause a repository to be in a broken state.
closes #4529 https://pulp.plan.io/issues/4529