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

[SAT-17783] Fix/corrupted RA blocks content streaming #6064

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pedro-psb
Copy link
Member

depends on #6026
closes #5725

pedro-psb and others added 4 commits November 21, 2024 09:48
Assuming we want to keep our stream-redirect approach on the
content-app, We cant recover from wrong data already sent if
the Remote happens to be corrupted (contains wrong binaries).

In order to not give a 200 reponse to client, we decided to
close the connection as soon as the request handler realizes
the checksum is wrong.

That only happens after we already sent the whole blob minus EOF,
so we close the connection before sending the EOF.

Additionally, we put some message on the logs for admins to see
and have a chance to manually fix the remote/remote_artifacts.

fixes pulp#5012
@pedro-psb pedro-psb changed the title Fix/corrupted RA blocks content streaming [SAT-17783] Fix/corrupted RA blocks content streaming Nov 22, 2024
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.

Wrong package download after on-demand sync
1 participant