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

HMS-5039: eliminates re-uploads of finished uploads #392

Closed
wants to merge 2 commits into from

Conversation

dominikvagner
Copy link
Contributor

Summary

DRAFT until it is decided how we want solve the problem with interrupted uploads.

This PR adds a check before the upload of a file to see, if there is an artifact in pulp with the same hash and that's the case it skips the upload and sets the artifact href for it, which then can be used to add the file to the repo.

Testing steps

  1. Create 2 upload repositories.
  2. Upload a big file to one of the repos (more than one chunk at least).
  3. Let it upload and confirm the upload.
  4. Try uploading the same file to the other repo and verify that the upload was skipped and the file can be added.

@jlsherrill
Copy link
Member

@jlsherrill
Copy link
Member

⚠️ This task currently requires qe-approval, but this PR does not fully resolve the task. Please contact QE to determine appropriate testing required.

@jlsherrill jlsherrill changed the title Refs 5039: eliminates re-uploads of finished uploads HMS-5039: eliminates re-uploads of finished uploads Dec 18, 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.

2 participants