Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not mirror delta rpms by default #1288

Open
dirkmueller opened this issue Feb 21, 2025 · 4 comments
Open

Do not mirror delta rpms by default #1288

dirkmueller opened this issue Feb 21, 2025 · 4 comments

Comments

@dirkmueller
Copy link
Member

Checking the SUSE CDN logs, we see that RMT / SMT servers are downloading delta rpms. zypper(1) is falling back gracefully if drpms are not available, and downloading them to store locally seems like a waste of bandwith and storage, as the RMT setup is close / high bandwidth to the actual machines that want updates, and delta rpms make no sense there.

So much they don't make sense that there is a discussion to turn it off client side even:

openSUSE/libzypp#620

@digitaltom
Copy link
Member

Disabling the download on delta RPMs is likely changed here: https://github.com/SUSE/rmt/blob/master/lib/rmt/mirror/repomd.rb#L64
We would need to investigate if there can be issues on the client side, when those delta RPMs are not available on RMT, because the repo metadata still references them, we cannot rewrite the metadata.

@dirkmueller
Copy link
Member Author

libzypp clients will silently ignore failures on delta rpms and fall back to the full rpm. dunno about other clients though.

@rjschwei
Copy link
Member

Having the option to disable drpm mirroring would be great.

@digitaltom
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants